Red giant and the creation of a planetary nebula finally ends the red-giant phase of the star's evolution. The red-giant phase typically lasts only around a billion years in total for a solar mass star, almost all of which is spent on the red-giant branch. The horizontal-branch and asymptotic-giant-branch phases proceed tens of times faster. If the star has about 0.2 to , it is massive enough to become a red giant but does not have enough mass to initiate the fusion of helium. These "intermediate" stars cool somewhat and increase their luminosity but never achieve the tip of the red-giant branch
S-type star difficult for a red giant to have other s-process elements in its atmosphere without technetium. S-type stars without technetium form by the transfer of technetium-rich matter, as well as other dredged-up elements, from an intrinsic S star in a binary system onto a smaller less-evolved companion. After a few hundred thousand years, the Tc will have decayed and a technetium-free star enriched with carbon and other s-process elements will remain. When this star is, or becomes, a G or K type red giant, it will be classified as a Barium star. When it evolves to temperatures cool enough for ZrO