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
Gas giant Hot Jupiters are class IV or V. A cold hydrogen-rich gas giant more massive than Jupiter but less than about () will only be slightly larger in volume than Jupiter. For masses above , gravity will cause the planet to shrink (see degenerate matter). Kelvin–Helmholtz heating can cause a gas giant to radiate more energy than it receives from its host star. Although the words "gas" and "giant" are often combined, hydrogen planets need not be as large as the familiar gas giants from the Solar System. However, smaller gas planets and planets closer to their star will lose atmospheric