Magnetic force appears Between magnets. The pushing force appears between the same poles, and the pulling force between the other poles.
Generally, iron is not a magnet. However, if an iron is near the another magnet, iron has the property of a magnet. Because iron is affected by the another magnet. Therefore, iron sticks to the magnet.
In this way, the material that becomes magnet by the another magnet is called the ferromagnetic substance.