A reciprocating compressor takes in a gas and delivers it at a higher pressure through the cyclic action of pistons in cylinders. There are two main types - single-acting and double-acting. The compression process can follow different thermodynamic paths like isothermal, polytropic, or isentropic on a pressure-volume or temperature-entropy diagram. Isothermal compression provides the minimum work and highest efficiency. The indicated power and efficiency of a reciprocating compressor depends on parameters like mass flow rate, inlet and outlet pressures and temperatures, and the compression process path.