The other side of the piston is connected to the crankshaft.
In a double acting compressor, air is drawn and compressed on both sides of the piston. The piston is operated by a connecting rod through an airtight seal. There are compression chambers on both sides of the piston and a set of suction and discharge valves. .
Double acting compressors have higher efficiency. However, they are expensive to manufacture. They are usually water cooled.