When the moon comes in between the earth and the sun
Answer Details
When the moon comes in between the earth and the sun, a solar eclipse occurs. The moon blocks the light from the sun, casting a shadow on the earth. Solar eclipses can only occur during the new moon phase, when the moon is between the sun and the earth. The eclipse can be partial or total depending on the alignment of the sun, moon, and earth. During a total solar eclipse, the sun's outer atmosphere or corona is visible, and the sky becomes dark as if it were nighttime.