Electromagnets are very useful because they can be turned on or off at any time by just opening or closing the switch.Similarly,we can also change the strength of an electromagnet by adding more turns to the soil or increasing the current flow through the soil.Therefore, electromagnets are used in many complex machines and devics.These devices are called electromagnetic devices.