Each magnetic layer behaves like a tiny bar magnet, with a north pole and south pole, called a magnetic "moment."
(Each magnetic layer; behaves; like a tiny bar magnet)
Each magnetic layer
behaves
like a tiny bar magnet