Magnets are useful to separate things when one of the materials in a mixture is magnetic, like iron, nickel, or cobalt, and the others are not. For example, magnets can separate iron filings from sand because only the iron is attracted to the magnet. This method is quick, simple, and effective for sorting magnetic materials from non-magnetic ones.