(a) Solar eclipse
Solar eclipse occurs, when the Moon arrives between the Sun (S) and the Earth(E). The shadow of the Moon appears on the Earth at A as shown in picture. Hence, those who are at the region A are unable to see the Sun instantly. This is solar eclipse. But, those who are at the region B and C are able to see the sun partially.
(b) Lunar eclipse
Lunar eclipse: Lunar eclipse occurs, when the Earth (E) comes between the Sun (S) and the Moon (M). The Earth prevents light coming from the Sun and makes shadow on the Moon. This is lunar eclipse