The Sun will eventually exhaust its nuclear fuel and undergo changes. It is estimated that in about 5 billion years, it will become a red giant and eventually shed its outer layers, leaving behind a dense core known as a white dwarf.