hey friend
here is your answer
An object's acceleration is the rate its velocity (speed and direction) changes. Therefore, an object can accelerate even if its speed is constant - if its direction changes. ... Light's acceleration is zero. Since it travels in a straight line, its direction does not change.