During the orbit of the Sun in a lunar eclipse, the Earth comes between the Moon and the Sun. During this, the moon is covered or hidden by the shadow of the earth, during a total lunar eclipse, the sun, earth and moon come in line with each other. In such a situation, when we see the moon from the earth, it looks black.