When an electric current flows in a wire it creates a magnetic field around the wire.
By winding the wire into a coil we can strengthen the magnetic field. Electromagnets are made from coils like this.
Making an electromagnet stronger
We can make an electromagnet stronger by doing these things: