Scientists have long used eclipses to learn more about the sun and the Earth.