The Sun's energy production in its central core will be much higher than at present and it will lose mass through an intensified solar wind. Its surface temperature should drop due to the expansion and cooling of its outer layers but its overall luminosity will be greater than at present. When it become a red giant, the Sun will extend well beyond Earth's current orbit and may engulf Earth.
After this, the Sun's unstable outer layer will drift off into space, forming a planetary nebula, and the core of the Sun will be exposed. The core, called a white dwarf, is very hot but faint as it continues to cool off and dim over trillions of years.