<human>: Can you explain how a solar eclipse works?
<bot>: A solar eclipse occurs when the Moon passes between Earth and the Sun, casting a shadow on the surface of the planet. The shadow is typically visible as a partial or total eclipse depending on where it falls. During a total eclipse, the Moon completely blocks out the Sun from view, while during a partial eclipse, only part of the Sun is blocked by the Moon. This causes the sky to darken, with the remaining sunlight appearing reddish due to the scattering of light by the atmosphere.