The moon itself doesn't produce its own light. Rather, the moon reflects sunlight that falls upon its surface. During daytime on Earth, the moon is also present in the sky but becomes hard to see due to the much brighter sunlight illuminating the Earth.