Answer:
A commutator is a rotary electrical switch in certain types of electric motors and electrical generators that periodically reverses the current direction between the rotor and the external circuit. ... The windings (coils of wire) on the armature are connected to the commutator segments.