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.