General relativity explains the bending of light around massive objects through the curvature of spacetime. Massive objects like stars or planets distort spacetime, creating a curved path that light follows. This phenomenon, known as gravitational lensing, makes light appear to bend as it travels near massive bodies.