Ring Nebula is a planetary nebula -- objects that are the colourful remnants of dying stars that have thrown out much of their mass at the end of their lives.
The nebula a cloud of gas in space -- is likely composed of debris from two stars that collided and merged into a single star, said a study published in the journal Nature.