pretty simple electrons interact producing fluctuations in the quantum grid which produces virtual photons, these virtual photons mediate the magnetic field produced by magnets, this is why photons are the bosons responsible for the /electromagnetic/ force. yay science