This diagram shows how a solar eclipse takes place.