Dynamo is a device used to transformation of mechanical energy into?

Heat energy

Electrical energy

Mechanical

Sound energy