Overview and Scope A relay is defined as an electromagnetic switch that opens or closes a circuit to regulate the…