The answer is; white dwarf
A white dwarf is created from a red giant. As the outer shells of the red giant overcome it the gravitational influence of its core, the plumes of the shells escape into outer space as planetary nebulae leaving behind a small dense and bright spot called a white dwarf as a remnant.