A solar eclipse occurs when the Moon passes between the Sun and Earth, and the Moon fully or partially blocks ("occults") the Sun. The three celestial bodies must be in a precise alignment for an eclipse to occur.