A crosshead is a mechanism used as part of the slider-crank linkages of long reciprocating engines and reciprocating compressors to eliminate sideways pressure on the piston.