* They are on opposite sides of the Earth: The sun is much farther away from Earth than the moon. When we see the moon during the day, it's because it's on the opposite side of the Earth from the sun.
* They have different orbital paths: The sun and moon have different orbits around Earth. The sun appears to move across the sky during the day, while the moon's orbit is tilted. This means they only appear in the same part of the sky at specific times, such as during a solar eclipse or a lunar eclipse.
So, while you might see both the sun and moon in the sky at the same time, they are not actually in the same place. It's just a matter of perspective from Earth.