* The moon is reflecting sunlight. The moon doesn't produce its own light; it shines because sunlight reflects off its surface.
* The moon's orbit is independent of the sun's. The moon orbits the Earth, and its path doesn't always line up with the sun's. Sometimes, the moon will be in a position where it's visible in the daytime sky, even though the sun is also shining.
* The moon's phases matter. The moon's visibility during the day depends on its phase. A crescent moon will be more visible during the day because it's reflecting less sunlight than a full moon. A full moon might be harder to see during the day because its brightness can be washed out by the sun's light.
Think of it like this: Imagine you're in a room with a bright light (the sun). If there's a smaller light source in the room (the moon), you might be able to see that smaller light even though the main light is on.