With a piston air compressor, the type of material involved refers to the metal used in the pump or shaft that surrounds the piston. These compressors are typically constructed of one of two materials – cast iron or aluminum.