what can create a magnetic field and what are the things that can be affected by a magnetic field?
Correct if I am wrong, but as far as I know, an electric field is created by charges that affect other charges. (is their any details to this fact?)
Regarding magnetic fields, I would like to know how they can be created and the things (I mean the materials, charges...) that they can affect.