Dynamo is a device that coverts:

Electrical energy into mechanical energy

mechanical energy into electrical energy

Heat energy into electrical energy

Alternating current into direct energy