What is the function of the commutator in a motor?
a. it strengthens the magnetic field.
b. it changes the polarity of the magnet.
c. it causes the magnetic fields to interact.
d. it facilitates the movement of the current through a wire.