Answer
The function of a commutator in an electric motor is to reverse the direction of the flow of the current through the coil whenever the coil passed the vertical position during the revolution.
The function of a commutator in an electric motor is to reverse the direction of the flow of the current through the coil whenever the coil passed the vertical position during the revolution.