Switches are used to turn the power on and off. Receptacle outlets are usually mounted on a wall or floor to supply electricity to appliances through a cord and plug.
Unusually warm or hot outlets or switches may indicate that an unsafe wiring condition exists. Unplug cords from these outlets and do not use the switches. Have a qualified electrician check the wiring as soon as possible.