Device "X" converts electrical energy to mechanical energy whereas device "Y" converts mechanical energy to electrical energy. Identify the devices "X" and "Y" from the options.
X:- Washing machine
Y:- Electric generator
A washing machine is a device which converts input electrical energy into output mechanical energy which is further used to wash clothes.
An electric generator is a device which converts input mechanical energy into output electrical energy.
A loudspeaker is a device which converts input electrical energy to output sound energy while television converts input electrical energy to output light and sound energy.