Here's how it works:
* Earth's Rotation: Our planet rotates on its axis, completing one full rotation approximately every 24 hours. This rotation causes day and night.
* Perspective: As Earth spins, different parts of the planet face the sun. When your location on Earth faces the sun, it's daytime. When your location faces away from the sun, it's nighttime.
* Apparent Motion: Because of the rotation, the sun appears to rise in the east and set in the west. This is an illusion, as the sun is actually stationary relative to the Earth. It's our planet's rotation that creates the illusion of movement.
Think of it like this: If you're on a merry-go-round, the objects around you seem to be moving while you're actually the one spinning. The same principle applies to the Earth's rotation and the apparent motion of the sun.