The magnetic field produced by an atom-its magnetic moment-is determined by these various forms of angular momentum, just as a rotating charged object classically produces a magnetic field.
The nucleus of an atom will have no spin when it has even numbers of both neutrons and protons, but for other cases of odd numbers, the nucleus may have a spin.