This rotation causes the sun to appear to rise in the east and set in the west. It takes approximately 24 hours for the Earth to complete one full rotation on its axis, which is why we experience day and night. The rotation of the Earth also causes the apparent movement of the stars and other celestial bodies in the sky.