Magnets have attracting property and they attract magnetic substances towards them. It is zero in middle and maximum at poles (near the ends) of the magnet.
result
Directive property of magnet
When a bar magnet is suspended freely, it always comes to rest in a north-south direction. This property is used in the construction of a mariner's compass. This is called as the directional property of a magnet.