Electric motors convert electric energy into mechanical energy. This mechanical energy is then used to turn a propeller, turbine or other type of machinery which in turn produces heat and temperature increase in the room.