A lunar eclipse occurs when the Earth passes between the sun and the moon, casting a gigantic shadow across the Moon.