Relays are electrically operated switches that open and close circuits allowing current to pass or stop.