An eclipse is the result of a cause-and-effect relationship between Earth, the Sun, and the Moon. To cause a solar eclipse, the Moon has to move between Earth and the Sun. The effect of this alignment is that portions of the Sun are blocked and not visible on Earth for short periods of time.