It is like having many wires side by side. In this way it is possible to make a much stronger magnet. You found that a coil of wire carrying electricity can do all the things a permanent magnet can do. However, an electric wire coiled around an iron core makes a much stronger magnet. We call this kind of magnet an electromagnet .
Electromagnets are very useful because their magnetism can be turned on and off.
You can also control the strength of an electromagnet while you can't control the magnetic force of a permanent magnet. You increased the strength of your electromagnet by increasing the number of turns of wire in the coil or by increasing the current. The discovery of the electromagnet is one of the most important man has made. They play a vital role in our lives. They are used in many of our machines.