Here's why:
* The moon reflects sunlight: The moon itself doesn't emit light; it reflects sunlight.
* Earth's rotation: The Earth spins on its axis, completing one rotation approximately every 24 hours. This rotation causes day and night.
* Moon's orbit: The moon orbits the Earth, taking roughly 27.3 days to complete one orbit.
* Relative positions: As the Earth rotates, the position of the moon in the sky changes relative to our location. When the moon is in a position where sunlight is reflecting towards us, we see it. This often coincides with nighttime, but not always.
So, while we usually see the moon at night, it can actually be visible during the day too!
It's just that the sun's light is usually too bright for us to see the moon during the day. However, if the moon is near a new moon phase (when it's less illuminated), or if you're in a place with very clear skies, you might be able to spot the moon during the day.