Protective relays are specialized devices used in electrical power systems to detect abnormal conditions (such as overcurrent, overvoltage, undervoltage, short circuits, or frequency anomalies) and initiate disconnection of affected equipment or circuits to prevent damage, ensure safety, and maintain system stability.