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

A dynamo is a device 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 rotating magnetic field can be created by a number of different methods, including a steam engine, a water turbine, or an internal combustion engine.

The first dynamo was invented by Michael Faraday in 1831. Faraday's dynamo was a simple device that consisted of a coil of wire wrapped around a soft iron core. When the core was rotated in a magnetic field, an electric current was induced in the coil.

Dynamos are used in a variety of applications, including power generation, electric motors, and welding. They are also used in some types of scientific research.

Here is a brief explanation of each option:

  • Option A: Heat energy into electrical energy. This is not the correct answer because a dynamo does not convert heat energy into electrical energy.
  • Option B: Mechanical energy into electrical energy. This is the correct answer because a dynamo converts mechanical energy into electrical energy.
  • Option C: Magnetic energy into electrical energy. This is not the correct answer because a dynamo does not convert magnetic energy into electrical energy.
  • Option D: Chemical energy into electrical energy. This is not the correct answer because a dynamo does not convert chemical energy into electrical energy.