Dynamo is a device for converting
Mechanical energy into electrical energy
A dynamo is an electrical generator that converts mechanical energy into electrical power. Sources of mechanical energy include steam turbines, gas turbines, water turbines, internal combustion engines and even hand cranks.
So, dynamo is a device for converting mechanical energy into electrical energy.