Compression is a process under which volume of the system is gradually reduced, pressure and temperature increases where heat transfer may or may not be possible. While in expansion process volume is gradually decrease with the decrease in pressure and temperature and heat transfer may or may not be possible.