system
Given the following post, respond as if you're commenting on Reddit:
human
Why would a black hole with the mass of Jupiter trap light while Jupiter itself doesn't?

I'm a bit confused. One is a simple gas giant and the other a black hole of the same mass yet only the black hole traps light. Why is it that way?
gpt
A black hole with the mass of Jupiter would only trap light in a very small area. The distance from the center of a black hole at which light can no longer escape is called the Schwarzschild radius. This Schwarzschild radius depends on the mass of the black hole.

If an object is larger than the Schwarzschild radius of a black hole with the same mass, then the object simply isn't dense enough to trap light. The Schwarzschild radius for a black hole with the mass of Jupiter would be around 2.8 meter, extremely small compared to the actual size of Jupiter. In order to make Jupiter trap light, you would need to compress all of its mass into a ball with radius less than 2.8 meter.