A cam is a rotating or sliding piece in a mechanical linkage used especially in transforming rotary motion into linear motion. It is often a part of a rotating wheel or shaft that strikes a lever at one or more points on its circular path. From Wikipedia