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
whereas the wave of light is an electromagnetic waveand its speed is given by
So speed of sounddepends on temperature of air but speed of light doesn't.