<s>[INST] Why is light affected by gravity even if it doesn't have mass? [/INST] According to Einstein, gravity affects the curvature of space and time.  Light's path traveling through this space is therefore affected even though it does not have mass. </s>