Answer:
The sun rises and sets because of it's rotation on it's axis.
Step-by-step explanation:
The sun makes a complete rotation after 24 hrs, as the earth rotates the sun moves past that part of the Earth not lighting it up anymore causing night time. So as the Earth moves towards the east the sun sets in the west causing it move out of our line of site