Earth's rotation causes day and night. As Earth rotates eastward, the sun appears to move west across the sky. As Earth continues to turn to the east, the sun appears to set in the west. Sunlight can't reach the side of the Earth facing away from the sun, so it is night there. It takes Earth about 24 hours to rotate once. As you know, each 24-hour cycle of day and night is called a day.