The repetitive up-and-down, or reciprocating, motion of the piston moves the attached crankshaft in a circular, or rotary, motion.