When the hydrogen in the core becomes depleted, nuclear fusion in the core ceases. The gas surrounding the core, however, will still contain hydrogen. Gravitational forces cause both the core, and the surrounding shell of hydrogen to shrink. In a star like the Sun, the hydrogen shell becomes hot enough for hydrogen fusion in the shell of the star. This leads to an increase in pressure which pushes the surface of the star outwards, causing it to cool. At this stage, the star will be in the giant or supergiant regions of a Hertzspung-Russell (H-R) diagram