A dynamo is a device or generator which is used for converting mechanical energy into electrical.
It converts mechanical revolutions into a pulsed direct electric current using revolving wire coils and magnetic fields.
Dynamos were the first electrical generators capable of transmitting power to industries, and the idea of dynamo was used in many subsequent electric-power conversion devices.
Hence, a dynamo converts mechanical energy into electrical energy