It works by using powerful magnetic fields to attract and retain ferrous particles present in the material flow. As the material passes through the magnetic field, any metal contaminants are drawn toward the magnet's surface and held there, preventing them from continuing downstream.