What is the future outlook for our Sun based on the life cycle of stars that form planetary nebulae?

Answer

It will expand into a red giant, shed its layers, and leave behind a white dwarf

Because the Sun does not possess enough mass to undergo a supernova explosion, it follows the path of a lower-mass star. In approximately 5 billion years, it will exhaust its core hydrogen, expand into a red giant, and eventually eject its outer gaseous layers. This process will create a planetary nebula with a white dwarf at its center, which will then serve as the final, quiet state of the solar system, slowly cooling over a vast timescale.

What is the future outlook for our Sun based on the life cycle of stars that form planetary nebulae?
astronomystarplanetnebulawhite dwarf