It's easy to get confused because we see the Sun moving across the sky every day, but that's actually the Earth rotating on its axis. The Sun appears to move because of the Earth's rotation.
However, the Sun itself is not stationary. It orbits the center of our galaxy, the Milky Way, along with everything else in the galaxy.