Here's why:
* The Moon orbits the Earth: The Moon isn't stationary. It's constantly moving around our planet.
* The Moon reflects sunlight: The Moon itself doesn't produce light. It's only visible because its surface reflects sunlight.
* The phases of the Moon: The different phases of the Moon (new, crescent, gibbous, full) are caused by the changing angles of the sunlight reflecting off the Moon as it orbits the Earth.
So, even though the Sun is out, the Moon can still be in a position where it's reflecting enough sunlight for us to see it.
Here's a simple analogy: Imagine you're holding a mirror. If you hold the mirror towards the Sun, you can see the sunlight reflected back. Even though the Sun is in the sky, you can still see the reflected light from the mirror. The Moon is like that mirror, reflecting sunlight even during the day.