Star birth occurs in a nebula. A star's initial mass determines the star’s temperature, luminosity, and diameter that ultimately decides which life stages.
December 16, 2011