Gear is a primary component used in almost all the machines.
you can also take gears with different diameters.but be sure that the ratio of the diameter of both is same as ratio of the number of teeth on respective gears. if it is not same the teeths of the gears will move through each other.(just try it)
link to the model is : Gear with animation
well done thank you for the tutorial :)