Life Cycle of a Star. Stars are formed in clouds of gas and dust, known as nebulae. ... Small stars, like the Sun, will undergo a relatively peaceful and beautiful death that sees them pass through a planetary nebula phase to become a white dwarf, this eventually cools down over time leaving a brown dwarf.