An electric motor is an electrical machine that convertselectrical energy into mechanical energy. Most electric motors operate through the interaction between themotor's magnetic field and electric current in a wire winding to generate force in the form of rotation of a shaft.