This phenomenon occurs when the gravitational pull of a massive object bends the path of light passing nearby.