The future of yellow dwarf stars, like our sun, is determined almost entirely by their mass. The most massive stars, about eight to 12 times heftier than the sun, can explode as supernovae, leading to the most extreme objects in the universe—neutron stars and black holes.