The Moon does not produce its own light, but it reflects light from the Sun.
The dusty lunar surface reflects only about 12 percent of the Sun’s rays. But that is enough to make the Moon shine brightly, although we don’t see all of it from Earth all the time.