In earlier topic we have learned about the birth of Stars and different scenarios taking place if you didn't have read it click here The birth of stars

 Today we are gonna lookout how stars end up there life ,We know that in stars nuclear fusion is taking place atoms are  fused to form higher atoms there by releasing energy to keep balance in the inward pull of gravity, When the star has no fuel left the death of star starts.ie, when the fusion reaches to iron the fusion will not provide enough energy to maintain the balance

     The star will die in different ways depending on the mass of star,The star which has lesser mass than our sun will die as a white dwarf the outter layer collapse to inner core and no more  nuclear fusion takeplace due to higher temperature star glows white untill after millions of years the white dwarf turn into a black dwarf
    The Above image shows a white dwarf

The stars which has same mass as sun will eventually turn into a red giant the outter layer expands, in the case our sun  the outter layer of sun will swallow Mercury and Venus possibly Earth  too. And at last a supernova takes place in the case of our sun there will be no supernova (explosion of both surface & core of star) there will be just Nova (explosion of the surface of star) and our sun will turn into a white dwarf.
 When the core exploded in a supernova is massive than 1½-3 times heavier than sun will turn into a neutron star, neutron stars are so dense the electron and protons in the stars are combined to form neutrons. Neutron star die by releasing all its mass in the form of electromagnetic radiation. Two neutron stars can collide to form a black hole.
Above image shows a Neutron star

The stars which are massive than 3 times of our sun will turn into a Black hole after a supernova. The black holes are not a hole in spacetime its the core of star and it's gravity is so strong that even light can't escape. Even the black holes are not immortal, After billions of years it will  evaporate due to a process called Hawking radiation
 The above image is the real photo of black hole
The above image is artistic image

There is nothing in the universe is immortal everything will die even the universe to.