From our perspective on Earth, two types of eclipses occur: lunar, the blocking of the Moon by Earth's shadow, and solar, the obstruction of the Sun by the Moon. ... When Earth passes directly between Sun and Moon, its shadow creates a lunar eclipse.