A black hole is a region of space that has so much mass concentrated in it that there is no way for a nearby object to escape its gravitational pull.
If you threw the rock straight up in the air hard enough, you could make it escape the planet's gravity entirely. It would keep on rising forever. The speed with which you need to throw the rock in order that it just barely escapes the planet's gravity is called the "escape velocity." As you would expect, the escape velocity depends on the mass of the planet: if the planet is extremely massive, then its gravity is very strong, and the escape velocity is high. A lighter planet would have a smaller escape velocity. The escape velocity also depends on how far you are from the planet's center: the closer you are, the higher the escape velocity. The Earth's escape velocity is 11.2 kilometers per second (about 25,000 m.p.h.), while the Moon's is only 2.4 kilometers per second (about 5300 m.p.h.).
…