Just finished reading Sean Carroll's "The Higgs Boson and Beyond". I would be grateful if someone could explain how gravity, which I understand to be a function of mass, can interact with massless particles as evidenced by the phenomenon of gravitational lensing. I understand that gravity is a local curvature of spacetime and photons move through spacetime so that makes sense. Is the explanation as simple as that? Thanks and regards.