Attraction in magnetism refers to the force that draws certain materials, like iron, towards a magnet. This occurs due to the alignment of magnetic domains within the material, which become oriented in the direction of the magnetic field. Magnets have two poles: north and south. Opposite poles attract each other, while like poles repel.
The strength of magnetic attraction depends on the distance between the magnet and the object, as well as the material's magnetic properties. Electromagnets, which are created by electric current, can also exhibit attraction, allowing for controlled magnetic forces in various applications, such as in motors and generators.