consider any object say 'xyz' it contains atoms, and atoms contain electron which revolv earound the nucleus in an atom.As we know that moving electron is similar to moving charge and therefore it produces an electric current on moving,on moving it works as a current carrying circular loop...