An electromagnet is a type of magnet in which the magnetic field is produced by the flow of electric current. The magnetic field disappears when the current is turned off. Electromagnets are widely used as components of other electrical devices, such as motors, generators, relays, loudspeakers, hard disks, MRI machines, scientific instruments, and magnetic separation equipment, as well as being employed as industrial lifting electromagnets for picking up and moving heavy iron objects like scrap iron.The main advantage of an electromagnet over a permanent magnet is that the magnetic field can be rapidly manipulated over a wide range by controlling the amount of electric current. However, a continuous supply of electrical energy is required to maintain the field.Danish scientist Hans Christian Ørsted discovered in 1820 that electric currents create magnetic fields. British scientist William Sturgeon invented the electromagnet in 1824.His first electromagnet was a horseshoe-shaped piece of iron that was wrapped with about 18 turns of bare copper wire (insulated wire didn't exist yet). The iron was varnished to insulate it from the windings. When a current was passed through the coil, the iron became magnetized and attracted other pieces of iron; when the current was stopped, it lost magnetization. Sturgeon displayed its power by showing that although it only weighed seven ounces (roughly 200 grams), it could lift nine pounds (roughly 4 kilos) when the current of a single-cell battery was applied. However, Sturgeon's magnets were weak because the uninsulated wire he used could only be wrapped in a single spaced out layer around the core, limiting the number of turns. Beginning in 1827, US scientist Joseph Henry systematically improved and popularized the electromagnet. By using wire insulated by silk thread he was able to wind multiple layers of wire on cores, creating powerful magnets with thousands of turns of wire, including one that could support 2,063 lb (936 kg). The first major use for electromagnets was in telegraph sounders.
For more and complete information visit http://en.wikipedia.org/wiki/Electro_magnet