I've been reading some of these posts and it sounds like they are saying photons have zero mass. I was under the impression that light is bent or attracted to stars as it passes by- because of the mass of the star-or in other words isn't gravity at work here? and if so isn't that saying a photon has mass? And in the example of black holes if light can't escape then isn't that because of gravity? Thanks for any input!