The Moon can be seen during the day because it reflects sunlight and is bright enough to be visible against the blue sky. The Moon spends almost as much time in the daytime sky as it does at night. It does not produce its own light; instead, sunlight reflects off its surface, making it visible when it is in the right position in the sky. During different phases of the Moon, it appears in various parts of the sky at different times. For example, around the first and third quarters, the Moon can often be seen during the day because it rises and sets at times overlapping with daylight. The Moon is visible during daylight for about 25 days of the month, except near the new moon phase (when the Moon is close to the Sun in the sky) and the full moon (when it is opposite the Sun and visible mostly at night).
Additionally, the Moon is visible during the day because it is closer and brighter than stars or planets, which get outshone by the Sun's scattered light in the atmosphere. The Earth's atmosphere scatters sunlight, making the sky bright and blue, but the Moon is bright enough to stand out against this brightness.