thumb|300px|The shape of a bar magnet's [[magnetic field is revealed by the orientation of iron filings sprinkled on the table around it.]]
Magnetism is a natural force produced by moving electric charges that creates invisible fields capable of attracting or repelling certain materials like iron. It matters because it powers many technologies we rely on daily, from electric motors and generators to compasses and data storage devices.
AI-generated from the Wikipedia summary — may contain errors.
thumb|300px|The shape of a bar magnet's [[magnetic field is revealed by the orientation of iron filings sprinkled on the table around it.]]
Magnetism is the class of physical attributes that occur through a magnetic field, which allows objects to attract or repel each other. Because both electric currents and magnetic moments of elementary particles give rise to a magnetic field, magnetism is one of two aspects of electromagnetism.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).