A crank is a mechanism that turns rotational motion into straight-line motion. It is very similar to what a rack and pinion gear does.
Here is an example of one crank design. As the crank wheel rotates, the other end of the crank moves back and forth in a straight line. This is called reciprocating motion.
See also: Rack and pinion