The life cycle of stars depends on their mass. Lower mass stars like our Sun will eventually become red giants then white dwarfs. Higher mass stars live shorter lives and end as supernovas, leaving behind neutron stars or black holes. All stars begin as nebulae of dust and gas that collapse under gravity into protostars and main sequence stars fueled by nuclear fusion.