Mechanics and causes of day and night:
Unfortunately your answer is wrong.The correct answer is: If the earth did not rotate, either the sun would always shine (daytime) or it would always be night depending on where we are on the earth.
Luckily the earth always rotates around itself within 24 hours.
If we stay at the same place, we do not always see the sun because the earth is rotating.
The rotation of the earth around its own axis causes day and night.