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 and was originally used to refer to all giant planets. It is, arguably, something of a misnomer because throughout most of the volume of all giant planets, the pressure is so high that matter is not in gaseous form. Other than solids in the core and the upper layers of the atmosphere, all matter is above the , where there is no distinction between liquids and gases. The term has nevertheless caught on, because planetary scientists typically use "rock", "gas", and "ice" as shorthands for classes of elements and compounds commonly found as planetary constituents, irrespective of what phase the