How is a Black Hole Formed?

A black hole is formed when a star like our sun collapses in on itself and the resulting mass has a huge gravitational pull. The gravitational pull draws even light in, where the name originates.