* Solar Eclipses: When the Moon passes directly between the Sun and Earth, blocking the Sun's light and casting a shadow on Earth. This can be a total solar eclipse (where the Sun is completely blocked) or a partial solar eclipse (where only part of the Sun is blocked).
* Lunar Eclipses: When the Earth passes directly between the Sun and Moon, casting its shadow on the Moon. This can be a total lunar eclipse (where the Moon is completely covered in Earth's shadow) or a partial lunar eclipse (where only part of the Moon is covered).
It's important to note that these events only occur when the Sun, Earth, and Moon are perfectly aligned in a straight line, and also when the Moon is at a specific point in its orbit around Earth.
Therefore, while the straight alignment is necessary, it's not the sole cause of either event.