Particles in gas move faster with temperature in a linear motion (root mean velocity equation?) right? It explains increase in pressure and effusion proportional to temperature.
Solids emit radiation if their temperature is high enough because heat makes their atoms vibrate thus producing electromagnetic waves.
Gas, though, emits radiation due to temperature too.
How is this possible for a gas with its particles moving in a linear motion?