Electric motors are devices that convert electrical energy into mechanical energy through the interaction of magnetic fields. They operate on the principle of electromagnetism, where electric current passing through a coil of wire generates a magnetic field. This magnetic field produces torque that causes the rotor (the moving part of the motor) to turn.
New to topics? Read the docs here!