Both the sun and earth move all the time, but to "make a day" happen, the earth rotates. It is the rotation of the earth that causes the sun to rise and set.
The sun (and its system, including us) is moving in an orbit around the center of the Milky Way, and it is moving at the brisk rate of 486,000 miles per hour. It takes an unfathomable 226 million...