The Moon moves right to left in its orbit around the Earth. The shadow it casts hits the Earth during the March 9, 2016 total solar eclipse.
A solar eclipse occurs when the Moon passes between the Sun and the Earth, casting its shadow on the Earth. The shadow comprises two concentric cones called the umbra and the penumbra. Observers on the Earth who are within the smaller, central umbra see the Sun completely blocked. Within the larger penumbra, the Sun is only partially blocked.
In this animation, the Earth, Moon, Sun, and shadow cones are viewed through a telescopic lens on a virtual camera located far behind the Earth. Long focal lengths like the one used here appear to compress the distance between near and far objects. Despite appearances, the geometry of the scene is correct. The Moon's umbra cone is roughly 30 Earth diameters long, barely enough to reach the Earth, while the Sun is almost 400 times farther away.
From this perspective, we see the night sides of both the Earth and the Moon. Solar eclipses can only occur during New Moon, when the entire Earth-facing side of the Moon is experiencing nighttime darkness.