What is the final stable remnant left by stars up to about eight times the mass of the Sun after they expel their outer layers?

Answer

A white dwarf

Stars in the lower to intermediate mass range end their lives by shedding their outer atmosphere, forming a planetary nebula, while the remaining hot, dense core stabilizes as a white dwarf.

What is the final stable remnant left by stars up to about eight times the mass of the Sun after they expel their outer layers?
Elementlife cyclestarFusionnucleosynthesis