In a rotary screw compressor, two interlocking helical rotors are housed inside a casing. As the rotors turn, gas is trapped in the cavities between the rotors and the casing, then compressed as the volume of these cavities decreases. This mechanism ensures a steady and continuous supply of compressed gas, which is often essential for maintaining the stability and efficiency of a catalytic reaction.