sentences:  At the end of the Sun's life, gravitational compression will turn it into a white dwarf.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.