An AC motor is an electric motor driven by an alternating current (AC). The AC motor commonly consists of two basic parts, an outside stator having coils supplied with alternating current to produce a rotating magnetic field, and an inside rotor attached to the output shaft producing a second rotating magnetic field.
The rotor magnetic field may be produced by permanent magnets, reluctance saliency, or DC or AC electrical windings.
An electric motor is an electrical machine that converts electrical energy into mechanical energy.
Most electric motors operate through the interaction between the motor's magnetic field and electric current in a wire winding to generate force in the form of rotation of a shaft.
Electric motors can be powered by direct current (DC) sources, such as from batteries, motor vehicles or rectifiers, or by alternating current (AC) sources, such as a power grid, inverters or electrical generators.
An electric generator is mechanically identical to an electric motor, but operates in the reverse direction, converting mechanical energy into electrical energy.