Red giant of helium increases to the point where the star ceases to be fully convective and the remaining hydrogen locked in the core is consumed in only a few billion more years. Depending on mass, the temperature and luminosity continue to increase for a time during hydrogen shell burning, the star can become hotter than the Sun and tens of times more luminous than when it formed although still not as luminous as the Sun. After some billions more years, they start to become less luminous and cooler even though hydrogen shell burning continues. These become cool helium white dwarfs. Very-high-mass
Red-giant branch core becomes degenerate. The core still supports its own weight thermodynamically with the help of energy from the hydrogen shell, but is no longer in thermal equilibrium. It shrinks and heats causing the hydrogen shell to become thinner and the stellar envelope to inflate. This combination decreases luminosity as the star cools towards the foot of the RGB. Before the core becomes degenerate, the outer hydrogen envelope becomes opaque which causes the star to stop cooling, increases the rate of fusion in the shell, and the star has entered the RGB. In these stars, the subgiant phase occurs within a