In an electric motor, electrical energy is converted into mechanical energy. The motor uses the flow of electric current to produce a magnetic field that causes the motor's rotor to rotate, converting electrical energy into mechanical energy that can be used for work. This is the fundamental working principle of electric motors.