Electric motor primarily converts electrical energy to mechanical energy. An electric motor is a device that converts electrical energy into mechanical energy by using the magnetic effect of current. When an electric current flows through a coil in a magnetic field, a force is exerted on the coil which causes it to rotate, thus converting electrical energy into mechanical energy.