Inductors store energy in magnetic fields and introduce inductance into circuits. They work by creating a magnetic field when current flows through the coil. The strength of the magnetic field depends on the amount of current and the number of turns in the coil.