A dynamo is an electrical generator that produces direct current with the use of a commutator. The electric dynamo uses rotating coils of wire and magnetic fields to convert mechanical rotation into a pulsing direct electric current through Faraday's law of induction. The commutator is needed to produce direct current.