Answer: An electric motor is not a generator, but a device that converts electricity into mechanical energy. They work on the principle of electromagnetism, which indicates that a force is applied when an electric current is present in a magnetic field.
Motors have a variety of moving components that allow them to rotate continuously and power as needed. The motor can be operated by direct current (DC) or alternating current (AC). The principle of an electric motor is based on a conducting conductor that creates a magnetic field around it. Conductors that carry current are placed perpendicular to the magnetic field so that forces are applied.