What starts a supernova explosion?

it starts when the star runs out of its supply of gas (i cant remember the name) then the star collapses on its self and then....well blows up