The correct option is B A.C. dynamo
The AC dynamo (generator) is made up of stationary magnets (stator) which create a powerful magnetic field, and a rotating magnet (rotor) which distorts and cuts through the magnetic lines of flux of the stator. When the rotor cuts through lines of magnetic flux it makes electricity. Thus mechanical energy is converted into electrical energy.