A coil of wire connected to a galvanometer When the coil is rotated in a magnetic field the galvanometer records a current The current results because?

The creation of electric current in a conductor moving in a magnetic field was discovered by Faraday in about 1825, but he didn't know why it happened. Fundamentally, it is due to the attraction/repulsion between the magnetic field and the free electrons in the conductor, so that when the conductor moves it causes the electrons to move, which comprises the current. A similar effect can be obtained if the conductor is still and the magnetic field moves.

These effects are the absolute fundamental reasons for being able to generate electricity using rotating machines, which are designed with different characteristics but all make use of the above physical facts