The crankset, or chainset, is the component of a bicycle drivetrain that converts the reciprocating motion of the rider's legs into rotational motion used to drive the chain, which in turn drives the rear wheel. It consists of one or more sprockets, also called chainrings or chainwheels attached to the cranks or arms to which the pedals attach.