V391 Pegasi the ejection of the hydrogen envelope of a red giant star at or just before the onset of helium fusion. The ejection left only a tiny amount of hydrogen on the surface - less than 1/1000 of the total stellar mass. The future for the star is to eventually cool down to make a low mass white dwarf. Most stars retain more of their hydrogen after the first red giant phase, and eventually become asymptotic giant branch stars. The reason that some stars, like V391 Pegasi, lose so much mass is not well known. In 2007, a gas giant planet
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