Ashes Panigrahi said:
Well then, what happens to stars that possesses a mass of less than 8 to 10 solar masses ?
They become white dwarfs. Stars larger than that limit end with a spectacular explosion, a core collapse supernova. That supernova occurs shortly before the mass of the inert, degenerate iron-nickel core at the center of the massive star would exceed the Chandrasekhar Limit.
The ultimate fate of our Sun is to become a carbon (or perhaps carbon-oxygen) white dwarf. Here's a brief description of our Sun in five or so billion years, which is when all the hydrogen at the core of the Sun will have been fused into helium.
Stars on the main sequence have a number of built-in negative feedback thermoregulation systems. (Negative feedback is good. It moves systems toward an equilibrium. Positive feedback is bad. It moves systems away from equilibrium.) Those built-in thermoregulation systems fail when a star consumes all (or almost all) the hydrogen at the core. With no fusion to fend off gravity, that helium core shrinks, which makes it get warmer, which makes it radiate energy, which makes it cool off, which makes it shrink even more. That's a positive feedback loop! The core collapses until a new regulatory mechanism sets in. This collapse brings fresh hydrogen from outer layers downward. Fusion starts up again, but more fiercely than when the Sun was on the main sequence. The outer parts of the Sun will expand greatly. The Sun will become a red giant, burning hydrogen in a shell around an inert core of helium.
That inert core is under such extreme pressure that it becomes degenerate matter. A weird thing happens to degenerate matter with added mass: It shrinks in size. This growing in mass but shrinking in size inert helium core gets hotter and hotter and denser and denser, eventually hot enough and dense enough so as to allow helium fusion, which forms carbon (and possibly some oxygen). The Sun will burn helium at the core, but only for about 100 million years, which is when the helium runs out in the core. Now the same process that made the Sun become a red giant sets in. The Sun will expand once again to become an asymptotic red giant, burning helium in a shell around an inert carbon/oxygen core.
That inert carbon/oxygen core is degenerate matter. For all practical matters, this is a white dwarf. The end times of the Sun involve lots of mass ejection. Low mass asymptotic red giant stars are not very stable. The pulse and shrink, expelling lots of mass in the process. In the end, the white dwarf that has been forming for a million years is exposed. The outer layers of the Sun have been ejected as a planetary nebula that orbits the exposed white dwarf.