The very largest stars end their lives in a supernova. The supernova can outshine the rest of the galaxy for a brief time but when the supernova fades, these remnants are the visible reminder of the cataclysm that took place.