Motor converts electrical to mechanical energy. Rotor turns motion into heat.