A coil of wire usually wound on a soft iron or steel core. When current is passed through the coil a magnetic field is generated. The core provides an easy path for the magnetic lines of force. This concentrates the field in the core.