"A smaller star, like the Sun, will gradually cool down and stop glowing. During these changes it will go through the planetary nebula phase, and white dwarf phase. After many thousands of millions of years it will stop glowing and become a black dwarf. A massive star experiences a much more energetic and violent end." (National Schools Observatory)