A solar eclipse occurs when the Moon passes between the Earth and the Sun, blocking all or part of the Sun's light. There are three types of solar eclipses: total, partial, and annular.
In a total solar eclipse, the Sun is completely obscured by the Moon, and the day turns into night for a few minutes. This happens when the apparent size of the Moon is larger than that of the Sun, allowing it to completely block the Sun's light.
In a partial solar eclipse, the Sun is only partially obscured by the Moon. This occurs when the Earth, Moon, and Sun are not exactly aligned, causing the Moon to only partially block the Sun's light from certain regions on Earth.
An annular solar eclipse happens when the Moon is too far away from the Earth to completely cover the Sun. This results in the Sun appearing as a bright ring, or annulus, surrounding the dark disk of the Moon.