Here's why:
* Earth's Rotation: Our planet spins on its axis, completing one full rotation approximately every 24 hours. This rotation is what causes day and night.
* Facing the Sun: As Earth rotates, different parts of the planet face the sun. The side facing the sun experiences daylight, while the side facing away experiences darkness (night).
* The Sun's Position: The sun remains in a relatively fixed position in the sky (from our perspective). It's Earth's rotation that makes it appear as though the sun rises and sets.
Think of it like this: Imagine you're holding a ball and shining a flashlight on it. As you rotate the ball, different parts of the ball get illuminated by the flashlight. The same principle applies to Earth and the sun.