Red giant causing helium in a shell to begin fusing. At the same time hydrogen may begin fusion in a shell just outside the burning helium shell. This puts the star onto the asymptotic giant branch, a second red-giant phase. The helium fusion results in the build up of a carbon–oxygen core. A star below about will never start fusion in its degenerate carbon–oxygen core. Instead, at the end of the asymptotic-giant-branch phase the star will eject its outer layers, forming a planetary nebula with the core of the star exposed, ultimately becoming a white dwarf. The ejection of the outer mass
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