How is moonlight sunlight?

The moon does not produce any light of it's own. The moon is just a giant mirror to the sun.