Answer:
An idler gear supports a belt, routes a belt around obstructions, increases the amount of area a belt contacts a pulley, or adds tension to a belt or chain drive system.
In the case of a gear chain, the idler would reverse the motion of the gear it drives.