Answer:
You don't need to worry about this solar death anytime soon, though. Inside the sun, a churning fusion engine fuels the star, and it still has a lot of fuel left — about 5 billion years' worth.
Astronomers estimate that the sun has about 7 billion to 8 billion years left before it sputters out and dies. Humanity may be long gone by then, or perhaps we'll have already colonized another planet. Additional resources: Find out what will happen to the Earth when the sun dies, from Live Science.
The studies suggest that the solar system’s planets will continue to orbit the Sun stably for at least 40 million years. But after that, they show there is a small but not insignificant chance that things could go terribly awry.
In one of Batygin and Laughlin’s simulations, Mercury was thrown into the Sun 1.3 billion years from now. In another, Mars was flung out of the solar system after 820 million years, then 40 million years later Mercury and Venus collided.
Explanation: