When electric fan is switched on, first electrical energy is converted into mechanical energy and then mechanical energy is converted into heat. The heat energy will increase the Kinetic energy of air molecules; hence temperature of room will increase.