Star birth occurs in a nebula. A star's initial mass determines which life stages and type of death it will experience.