I just read that a magnetic field is generated when electrically charged particles move around. If I understand it correctly, the electric field and the magnetic field are two sides of the same coin, namely the electromagnetic field, and the magnetic field is simply defined as the difference between the actual electromagnetic field and what the electromagnetic field would be if everything was at rest. This difference is generated by strange quantum effects that I dont understand.
However what confuses me in this is, why then do permanent magnets interact with the magnetic field, given that they don't containg electrical currents as in an electric magnet?