system
Given the following post, respond as if you're commenting on Reddit:
human
If light has no mass, then how is it affected by the gravity of a black hole?

If light has no mass (which is how they go the speed of light, which is the fastest velocity possible) then how can it be 'sucked in' by a black hole? Wouldn't gravity have no effect on massless objects like light?
gpt
Two ways to think about this:

(1) anything with energy is affected by gravity (rest mass is just one form of energy)

(2) gravity is a curvature/distortion of space-time, so light follows paths that reflect the presence of the black hole.