gear: a mechanism for transmitting motion for some specific purpose (as the steering gear of a vehicle)
mechanism: device consisting of a piece of machinery; has moving parts that perform some function