A stellar-mass black hole is a type of black hole formed from the gravitational collapse of a massive star after it has exhausted its nuclear fuel. Typically ranging from about 3 to 20 times the mass of the Sun, these black holes are created when a star undergoes a supernova explosion, resulting in the core collapsing under its own gravity, leaving behind an object with an extremely strong gravitational pull that not even light can escape.