Основы логистики
Since the rotor rotates, the brushes in contact on one side of the DC source, and then for a short time do not contact with something, and then contact continues with the other side of the DC source effectively changing the polarity of the rotor.