if i remember right...black holes form from generally larger mass stars...
stars in there "death" phase go through an expansion phase caused by the running out of nuclear fuel (hydrogen and then helium) which causes its gravitational pull to weaken its hold on the outer layers...thus the star exapands and forms a red supergiant
this pic gives an idea of how big a red supergiant would be in relation to our own solar system
almost at jupiter...completely enveloping all the inner planets
after this comes the supernova...the explosion stage...one was witnessed by astronomers years ago that outshined the entire galaxy it was located in by over a million times
the pic is of a supernova remenant
supernovas occur when all the stars fuel is spent...the star collapses in on itself and in doing so creates a massive explosion
most supernova result in the formation of neutron stars...so called because the gravitational force created actually crushes atoms...the outer shell negatively charged electrons are forced into the atoms nucleus and cancel out the positively charged protons...thus leaving neutrons...and thus the name neutron star
the magentic field of a neutron star is about 100 trillion times that of the earth...they are about the size of a large city but in density and mass...every single person alive today could be squashed into the size of a sugar cube....if you weight 150 lbs on earth...on a neutron star you would weigh 21,000,000,000,000 lbs
a black hole is and even more extreme case borne from the same actions
instead of stopping at a neutron star...the mass continues to collapse in on itself to the point where it is extremely small...but that size is dependant on the mass of the size that created it....