Stars do not last forever, but can, in time, explode.
In this video you see a star explode, leaving a tiny dwarf star behind and throwing out a ring of material that will, in time, make new stars.
...