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
Planetary system and B typically rotate very quickly, which makes it very difficult to measure the small Doppler shifts induced by orbiting planets because the spectral lines are very broad. However, this type of massive star eventually evolves into a cooler red giant that rotates more slowly and thus can be measured using the radial-velocity method. A few tens of planets have been found around red giants. Observations using the Spitzer Space Telescope indicate that extremely massive stars of spectral category O, which are much hotter than the Sun, produce a photo-evaporation effect that inhibits planetary formation. When the O-type star goes