Black holes are formed when stars ( old stars ) explode.
During the explosion, the components which get seperated from the star join again but forms black holes. The bigger the star , the bigger the black hole.
When the black holes are formed ,they are open from one direction and from that sucks all .
Black are one of the greatest mysteries of the cosmos.
Till then I think my answer satisfies u