A coil of wire is used to make electromagnets (wire curled in series). This is more powerful than a straight wire in generating a magnetic field. Winding a wire tightly around a powerful core made of magnetic material, such as iron, will enhance this effect.
Individual magnetic fields cancel each other out when the atoms in the nail are oriented in random directions. These atoms are reoriented to point in the same direction under the influence of electric current. These individual magnetic fields combine to form a powerful magnetic field. The degree of reorientation increases as the current flow increases, resulting in a stronger magnetic field. Increased current flow has no effect on the magnetic field generated until all the particles are perfectly reoriented in the same direction. The magnet is said to be saturated at this stage.
Particle Accelerators
Amplifiers
Magnetic Separation
Electric Motors and Generators
MRI machines
Control Switches in Relays
Transportation
Spacecraft Propulsion Systems
Induction Heating
Hard Drives
They heat up very fast
It consumes a lot of energy
They can store huge amounts of energy in their magnetic field. If the electric current is interrupted, the energy will discharge.
byjus.com/physics/what-are-electromagnets/
cdn1.byjus.com/wp-content/uploads/2018/11/physics/wp-content/uploads/2015/12/sneha-300x189.png