 Electrons moving around atoms can create a magnetic field if their effects sum up constructively.For magnetic materials like iron, the magnetic fields of the electrons moving around the nucleus add up, while for non-magnetic materials the effects average out to zero net magnetic field.Inductance is the ability of an object to resist a change in current.