The correct answer is: A. Mechanical energy into electrical energy.

A dynamo is a machine that converts mechanical energy into electrical energy. It does this by using a rotating magnetic field to induce an electric current in a coil of wire. The amount of current produced depends on the strength of the magnetic field, the speed of rotation, and the number of turns in the coil.

Option B is incorrect because a dynamo does not convert electrical energy into mechanical energy.

Option C is incorrect because a dynamo does not convert electrical energy into magnetic energy.

Option D is incorrect because a dynamo does not convert magnetic energy into mechanical energy.