Given two materials, let us suspend them freely from a vertical pole and observe it carefully when they come to rest. A magnet when suspended freely will rest only in the north-south direction according to the earth's magnetic field, but the soft iron bar will rest In any direction. This is the simple experiment to identify a magnet from other metals.