The coil conducts electricity and creates a magnetic field in its surroundings. Electromagnets, electric motors, inductors, generators, and transformers all utilise the coil in their construction. A two-terminal inductor is a passive device. An insulated wire twisted in the shape of a coil is wound around a core in this inductor.