A generator of electric current can be made with a loop which spins in a magnetic field. The following visual explains how this device works. See  electric current

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte