A solar eclipse occurs when the Moon passes between the Sun and the Earth, creating a shadow on the Earth's surface. There are three types of solar eclipses: total, partial, and annular. It is a rare and awe-inspiring event that has fascinated people for thousands of years.