every time electricity passes through a wire, it gives off an electric current. this is the basis of an electromagnet. if you add coils to the wire, there will be more current in a smaller space this will make it stronger. you can also make it stronger by:
- putting more current through the wire
- putting a iron core through the wire
electromagnets are found in bells, scrap heap cranes, circuit breakers and much more. the advantage of electromagnets is that they can be turned on and off.