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
Circumstellar disc star (protostar) is formed by the gravitational collapse of a pocket of matter within a giant molecular cloud. The infalling material possesses some amount of angular momentum, which results in the formation of a gaseous protoplanetary disc around the young, rotating star. The former is a rotating circumstellar disc of dense gas and dust that continues to feed the central star. It may contain a few percent of the mass of the central star, mainly in the form of gas which is itself mainly hydrogen. The main accretion phase lasts a few million years, with accretion rates typically between 10