Red-giant branch the star when it reaches the horizontal branch, so the properties of red-clump stars can be used to determine the mass difference before and after the helium flash. Mass lost from red giants also determines the mass and properties of the white dwarfs that form subsequently. Estimates of total mass loss for stars that reach the tip of the red-giant branch are around . Most of this is lost within the final million years before the helium flash. Mass lost by more-massive stars that leave the red-giant branch before the helium flash is more difficult to measure directly. The current
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