I've read that our sun will burn out in about 5 billion years and when that happens the earth will die. It seems that the scientists found a huge solar system in space. (See the link below). Now if we humans can find a way to plug in and harness that solar power, we(humans) can live for a long time on earth.
We are novices in using solar power in our day, but we're getting there, step by step.
Here is a link that might be useful: Solar Power