Solve the below problem:
Q: In large compressors, the gas is frequently cooled while being compressed to reduce the power consumed by the compressor. Explain how cooling the gas during a compression process reduces the power consumption. You should solve the problem step by step.