Question: why are iron atoms affected by magnetic fields?
Answer: In metals like iron, the orbital magnetic moment encourages nearby atoms to align along the same north-south field lines. Iron and other ferromagnetic materials are crystalline. ... This is because magnets attract materials that have unpaired electrons that spin in the same direction.