When our star eventually dies, it will go out in a blaze of glory and produce what is known as a planetary nebula.