When the Moon orbits around the Earth sometimes the suns rays are blocked by their position. When Earth blocks sun rays from the moon it is referred to as a lunar eclipse. Whereas when the Moon blocks the sun rays from Earth it is called a solar eclipse.
Note: Even when paraphrasing sources must be cited.