Theory of Electromagnetism
A wire that carries an electric current creates a magnetic field around it. The electric current, that is, the moving electrons, create the magnetic field. Therefore, a moving charged particle creates both an electric and a magnetic field. That is, there are no magnetic charges, but only electrical ones, which create both the electric and magnetic field.
Conversely, when a magnet moves relative to a coil or rotates inside a coil, then electric current flows in the coil. This phenomenon is exploited in electric generators.