A dynamo is an electrical generator that produces direct current using a commutator. It uses rotating coils of wire and magnetic fields to convert mechanical rotation into a direct electric current. The first dynamo was invented by Michael Faraday and works by using a magnetic field and coil, where the mechanical rotation of the coil in the magnetic field generates a current, with more coil turns producing a higher current.