In our universe, the stars die differently depending of the type they belong to. The death of each star depends, in a certain part, of its size, actually, those that are small, have an inclination to die in a calm way, while the giant ones die in an abrupt and explosive way.
This stars, the smallest of all, die in the calmest way, getting cold and shrinking bit by bit until they don’t shine any more
This process is due, like I said before, to their size. Because of their little size, this stars fusion the elements that they have in their interiors little by little and in relatively small quantities. So, like they do not make a lot of energy, they die in a calm way, being transformed bit by bit into white dwarfs that don’t emit any light.
This death of star maybe interests more, in fact, our sun belongs to this star type. This stars, relatively small, die, like the red dwarfs, in a calm way, without producing many disasters.
The yellow dwarfs, which produce energy in big quantities, they expand bit by bit due to the nuclear fusion process which take place in their interior. After some thousands of millions of years, this stars are converted into red giants. This red giants, a lot bigger than when they were yellow dwarfs, will have an approximately volume of the orbit of the Earth or Mars. From here on, the process is the same than with the red dwarfs, go shrinking bit by bit until they arrive to the size of a white dwarf, which is 5 000 kilometres of radium.
So, the future of our star, will not be disastrous, but it will be peaceful and without disasters. However, he will burn us and will convert the Earth into the hell. Even so, we have nothing to worry about yet, in fact, for the Sun to convert into a red giant, there are still 4 500 millions of years to pass. Although, our star will have converted the Earth in an inhabitable planet much earlier than this dates.
This type of stars are the biggest of them. They are also those who live less time and which finish their last moments on the most catastrophic way, in an enormous explosion.
This stars, due to the same phenomenon explained before, they expand a lot, and they are even bigger when they convert into red supergiants, which are the biggest stars known and that they have an approximative minimum volume of Jupiter’s orbit.
Just like the red dwarfs and the yellow dwarfs, the future of the blue giants depends of its mass, and, being so big, this stars finish their last moments of live into a big collapse caused by the energy that consumes the fusion of iron. Then, by collapsing by their own weight, at velocities near to the light’s, the star finishes into an enormous explosion, that, will leave like legacy, either a neutron star, or, a dark hole.