Scientists have gained new insights into the future of the Sun, which will eventually become a white dwarf. As the Sun depletes its hydrogen and nuclear fuel, it will evolve into a red giant, engulfing the solar system. The outer layers of the Sun will then disperse, forming a planetary nebula, and eventually, it will become a fading white dwarf