Red-giant branch hydrogen fusion continues in stars of roughly solar mass until the helium core increases in mass sufficiently that it becomes degenerate. The core then shrinks, heats up, and develops a strong temperature gradient. The hydrogen shell, fusing via the temperature-sensitive CNO cycle, greatly increases its rate of energy production and the stars is considered to be at the foot of the red-giant branch. For a star the same mass as the sun, this takes approximately 2 billion years from the time that hydrogen was exhausted in the core. Subgiants more than about reach the Schönberg–Chandrasekhar limit relatively quickly before 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