At the other end of the scale are massive stars. These stars burn their fuel very quickly, ending their lives as supernovae, after which further gravitational compression will produce either a neutron star or a black hole from the remnants.