Ans. The final stages of a star's life depend on its mass. Low-mass stars, like the Sun, will eventually expand into a red giant and then shed their outer layers to become a planetary nebula. The remaining core will become a white dwarf. High-mass stars, however, will undergo a supernova explosion and either form a neutron star or a black hole.