A gear or cogwheel is a rotating machine part having cut like teeth, or cogs, which mesh with another toothed part to transmit torque. The main purpose of gear is to transmit power or torque or to change the rotational speed of an output shaft w.r.t an input shaft.