electron has a spin;
effectively a current in a loop, creating a little magnet;
this is the
Bohr magneton