Solar eclipses occur when the moon moves between the sun and the earth, and blocks the light of the sun from reaching earth.