The nebula was formed when a star went supernova 5,000 light-years from Earth.