Yes. The Sun does not have enough mass to explode as a supernova. Instead it will exit the main sequence in approximately 5 billion years and start to turn into a red giant. As a red giant, the Sun will grow so large that it will engulf Mercury, Venus, and probably Earth. The post-asymptotic-giant-branch evolution is faster. The luminosity stays approximately constant as the temperature increases, with the ejected half of the Sun's mass becoming ionised into a planetary nebula as the exposed core reaches 30,000 K. The final naked core, a white dwarf, will have a temperature of over 100,000 K, and contain an estimated 54.05% of the Sun's present day mass. The planetary nebula will disperse in about 10,000 years, but the white dwarf will survive for trillions of years before fading to a hypothetical black dwarf. A black dwarf is a theoretical stellar remnant, specifically a white dwarf that has cooled sufficiently that it no longer emits significant heat or light. Because the time required for a white dwarf to reach this state is calculated to be longer than the current age of the universe (13.8 billion years), no black dwarfs are expected to exist in the universe yet.