what happened when the earth rotates?

What happens when the earth revolves?

How does the sun’s apparent movement affect what shadows do?