Oil works by lubricating. Say that you have two gears that constantly turn and mesh together. As the gears turn, friction is produced. Friction causes heat and wear of the gears. When you pour oil into the teeth of the gears, then as they mesh oil takes away the heat and helps to reduce wear.