Electromagnets are a type of magnet that converts electrical energy into mechanical energy. It is an electromagnetic device whose main characteristic is its great retention force with a moderate current consumption. The main advantage of the electromagnet over permanent magnets is the control of the magnetic field power, being able to control the amount of electric current.