Step-by-step explanation:
As the Earth rotates on its axis and revolves around the Sun, several different effects are produced. When the new moon comes between the Earth and the Sun along the ecliptic, a solar eclipse is produced. When the Earth comes between the full moon and the Sun along the ecliptic, a lunar eclipse occurs.