Ans - Like another switch, a computer, or a control module, relays are switches that are powered by electricity. An automotive relay's function is to automatically switch electrical circuits on and off at predetermined intervals.