A dynamo is a device that converts mechanical energy into direct current electricity using a commutator. Dynamos were the first electrical generators to power industry and served as the foundation for other types of electric power conversion equipment.