This animation shows the rotation of Earth, the orbit of the Moon about Earth, and the orbit of the Earth-Moon about the Sun. The appearance of both the Sun and the Moon can be affected by the shadows cast by the Earth and the Moon in the sunlight.
Learn more at Animations for Physics and Astronomy.