An eclipse occurs when a celestial body passes in front of the sun, blocking its light. There are two types of eclipses: lunar eclipses, where the earth casts a shadow on the moon, and solar eclipses, where the moon casts a shadow on earth. During a lunar eclipse, the earth blocks the sun's light from reaching the moon, causing it to glow red. A total lunar eclipse occurs when the moon passes completely into the earth's shadow, while a partial lunar eclipse happens when it only partially enters the shadow.