A lunar eclipse is observed when the sun, moon, and earth are aligned in a straight line with the earth in the middle. When the earth comes in between the sun and the moon, the shadow of the earth covers the moon, which is known as the lunar eclipse.