A relay is a switch that controls the flow of electricity to the air conditioner. The relay is what turns the air conditioner on and off.