All stars and planets have orbits
it is a scientific fact that all objects in the universe, including stars and planets, have orbits. The orbits of celestial bodies are determined by the gravitational forces acting on them. In the Quran, there are several verses that mention the orbits of celestial objects, including the sun and moon.
And it is He who created the night and the day and the sun and the moon; all [heavenly bodies] in an orbit are swimming.
And He is the One Who created the day and the night, the sun and the moon—each travelling in an orbit.
It is not for the sun to catch up with the moon,1 nor does the night outrun the day. Each is travelling in an orbit of their own.
The Sun orbits the center of the Milky Way, bringing with it the planets, asteroids, comets, and other objects in our solar system. Our solar system is moving with an average velocity of 450,000 miles per hour (720,000 kilometers per hour). But even at this speed, it takes about 230 million years for the Sun to make one complete trip around the Milky Way.
Reference : The Sun orbits the center of the Milky Way
The moon orbits the Earth once every 27.322 days. It also takes approximately 27 days for the moon to rotate once on its axis.
Reference : Does the moon rotate?
He created the heavens and earth in truth. He wraps the night over the day and wraps the day over the night and has subjected the sun and the moon, each running [its course] for a specified term. Unquestionably, He is the Exalted in Might, the Perpetual Forgiver.
Today, our scientists say that the Sun moves at an estimated speed, The Sun, which is located relatively far from the nucleus, moves at an estimated speed of about 225 km per second (140 miles per second) in a nearly circular orbit.
Reference : Speed of the Sun
The sun travels for its fixed term. That is the design of the Almighty, All-Knowing.
Apex of the sun’s way – the point on the celestial sphere toward which the sun and solar system appear to be moving relative to the fixed stars
Reference : Solar apex
Our Sun isn’t quite as old as other stars out there. However, scientists are already trying to pinpoint exactly when the Sun will die. Of course, it isn’t as simple as throwing out a date. After all, we’re working with a massive ball of energy that we’ve still barely managed to scratch the surface of exploring. However, scientists have managed to figure out a few key points about the Sun’s future, including the end of its current life phase.
Reference : The death of the Sun