To make something non-magnetic by removing its magnetic properties.
To erase the contents of a magnetic storage device.