A relay is an electric switch with an automatic switching element that has an isolation function. It is crucial for managing the power and signal flow in modular equipment.