>>11433997Photons travel in a straight line. But space isn't flat, so straight lines bend and twist with space.
PS- photons have no _rest_ mass. But photons do have energy, and so they do have an effect on spacetime.
See: Kugelblitz (astrophysics) on wikipedia. A black hole who's initial mass came from a very strong concentration of light, heat, or radiation.