$$E_{\text{ex}}=-2 J_{\text{ex}} \mathbf{S}_i \mathbf{S}_j =-2 J \mathbf{S}_i \mathbf{S}_j \text{cos}\phi$$
I'm studying magnetism and often see sentences like "spin $i$ product spin $j$" things.
The image I captured is an example. It is about exchange interaction in ferromagnetism.
So, what is exactly a "spin S" in those sentences?
First, I don't think it is spin angular momentum of a electron.
Free electron moves around metal, so it couldn't be seem like "arrow attached in space"
Second, it can't be spin angular momentum of a nucleus neither.
I heard that spin of nucleus is very small, because it is consisted of protons and neutrons which have opposite spins.
Finally, is it a sum of a atom's whole ingredient?
It is large and attached in space, so it makes sense.
But can exchange interaction occurs between two entire atoms?
I thought it occurs between two electrons, of two protons, or something very simple things.
What is the answer? If you can give me some paper or article, I'll be thankful.