Protective relays are used to isolate faults in electrical systems and protect equipment from damage. There are different types of relays including electromagnetic, solid-state, and microprocessor-based relays. Relays are used for motor protection including overload protection, locked rotor protection, and single phase/unbalance protection. Transformer protection includes gas and temperature monitoring as well as differential and ground fault protection. Generator protection includes differential, ground fault, and negative sequence protection to prevent phase unbalancing.