Quantum Angular Momentum
Classical particles like electrons generate magnetic fields through motion, but in the quantum realm, they possess intrinsic angular momentum even when stationary. This intrinsic property leads to a magnetic moment, allowing electrons to behave as if they are orbiting atoms. While most materials exhibit no net magnetic behavior due to canceling spins, some possess unpaired electrons that can align to create a significant magnetic field.In this clip
From this podcast

The Science of Everything Podcast
Episode 61: Magnetism
Related Questions