The speed of light does not depend upon the temperature of air but the speed of sound depends on it. Why?
As we know that wave of sound is a mechanical wave and its speed is given by
v = (γRT/M)
whereas the wave of light is an electromagnetic wave and its speed is given by
c = (1/εoμo)
So speed of sound depends on temperature of air but speed of light doesn't.