Which of the following devices is used to convert electrical energy to mechanical energy?
A motor is a device which converts electrical energy into mechanical energy. The working principle of an electric motor is "whenever a current carrying conductor is placed in a magnetic field, it experiences a mechanical force".
A generator is capable of converting mechanical energy into electrical energy.
Electric iron and heater convert electrical energy to heat energy.