Red-giant branch branch (SB), and red-giant branch (RGB), for stars with different initial masses, all at solar metallicity (Z = 0.02). Also shown are the helium core mass, surface effective temperature, radius, and luminosity at the start and end of the RGB for each star. The end of the red-giant branch is defined to be when core helium ignition takes place. Intermediate-mass stars only lose a small fraction of their mass as main-sequence and subgiant stars, but lose a significant amount of mass as red giants. The mass lost by a star similar to the Sun affects the temperature and luminosity of
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