what is inductor and its types inductor and the effects of inductance on an inductor