In the context of motors and generators, the commentator allows current to flow through the armature in reverse polarity. Permanent magnets create a magnetic field around the armature and rotate it. The armature spins when a current is put through it because of the magnetic field, rotating to:
a) Generate electricity
b) Stop the current flow
c) Absorb heat
d) Achieve equilibrium