The Moon shines because its surface reflects light from the Sun.
We can see in the dark during night because of the light from the sun reflected by the moon.