A crankshaft is a rotating shaft that (in conjunction with the connecting rods) converts the reciprocating motion of the pistons into rotational motion. Crankshafts are commonly used in internal combustion engines and consist of a series of cranks and crankpins to which the connecting rods are attached.