Protective relays are critical electrical devices designed to detect abnormal conditions in power systems—such as overcurrent, overvoltage, underfrequency, or faults—and to initiate isolation of the affected part of the system by triggering circuit breakers. Their primary function is to protect equipment, maintain system stability, and ensure safety.