An eclipse happens when one object blocks out the sunlight to another.
The Moon passing in front of the Sun is known as a Solar Eclipse.
When the Earth casts a shadow on the Moon, it is a Lunar Eclipse.
Solar Eclipse