An Inductor is a passive electrical component consisting of a coil of wire which is designed to take advantage of the relationship between magnetism and electricity as a result of an electric current passing through the coil.
The current flowing through the inductor produces magnetic flux. The magnetic flux is proportional to the current. Self-inductance is developed within the magnetic field, which opposes the rate of change of current flowing through it.