text: Initially, the pressure from outward flowing photons created by nuclear fussion of hydrogen prevent the star from collapsing.\n\nWhen hydrogen has been expended, other elements in turn are burned, although this process goes rather quickly.\n\nWhat happens next depends on the total mass of the star.\n\nIf the mass is insufficient, the star cools, and becomes a brown dwarf.  Electron repulsion holds these stars from further collapse.\n\nIf the mass is sufficient, then electrons are crushed into an associated proton, and create a neutron.  This causes a neutron star, and releases additional light and heat.\n\nSome stars stop here, but with sufficient mass, the neutrons are eventually crushed together, and a black hole forms.