Electromagnetic coil
An electromagnetic coil is an electrical conductor such as a wire in the shape of a coil. Electromagnetic coils are used in electrical engineering, in applications where electric currents interact with magnetic fields, in devices such as electric motors, generators, inductors, electromagnets, transformers, sensor coils such as in medical MRI imaging machines. Either an electric current is passed through the wire of the coil to generate a magnetic field, or conversely, an external time-varying magnetic field through the interior of the coil generates an EMF (voltage) in the conductor.
Read on Wikipedia