An electrical relay is a device that uses an electromagnet to operate switch contacts to open or close a circuit. It senses conditions in one circuit to automatically trigger changes in another circuit. There are several types of relays based on their characteristics, logic, actuating parameters, and operating mechanisms. The key requirements for protection relays are reliability, sensitivity, speed, and selectivity to ensure they isolate faults while avoiding unnecessary tripping of healthy portions of the system. Relays can be electromagnetic, static, or mechanical and are used in various power system protection applications and schemes.