Dc generator. It produces a unidirectional current through a commutator.