begins as a mains sequence star
hydrogen begins to run out
the outward force is less than gravitational force
gravity causes the sun to collapse inwards
this increases the temperature
helium fuse to create heavier elements
the star expands to form a red giant
at some point it stops fusing helium
the star shrinks to a white dwarf
the star cools down
it stops releasing energy and turns into a black dwarf