Red giant million kelvin) and establishes hydrostatic equilibrium. Over its main sequence life, the star slowly converts the hydrogen in the core into helium; its main-sequence life ends when nearly all the hydrogen in the core has been fused. For the Sun, the main-sequence lifetime is approximately 10 billion years. More-massive stars burn disproportionately faster and so have a shorter lifetime than less massive stars. When the star exhausts the hydrogen fuel in its core, nuclear reactions can no longer continue and so the core begins to contract due to its own gravity. This brings additional hydrogen into a zone where the
Giant star convection in the outer layers, triggers a second dredge-up, and causes a dramatic increase in size and luminosity. This is the asymptotic giant branch (AGB) analogous to the red-giant branch but more luminous, with a hydrogen-burning shell contributing most of the energy. Stars only remain on the AGB for around a million years, becoming increasingly unstable until they exhaust their fuel, go through a planetary nebula phase, and then become a carbon–oxygen white dwarf. Main-sequence stars with masses above about are already very luminous and they move horizontally across the HR diagram when they leave the main sequence, briefly becoming