A relay is an electromagnetically operated switch. It was invented in the 19th century to make electric telegraph signals go farther. Nowadays relays control circuits with low-voltages. Many machines use them, including vehicles and electronics.