We don't have to worry about the death of the sun any time soon, but when it does happen, will the Earth be able to survive?