Magnets attract certain materials due to the alignment of electrons within those materials. In most substances, electrons spin in random directions, canceling out their magnetic effects. However, in materials like iron, cobalt, and nickel, electrons tend to align their spins in the same direction, creating a magnetic field. When a magnet is brought near these materials, their internal magnetic fields align with the external magnetic field, resulting in attraction.
Comments