Andritz Interview Question

Q: Explain how does a relay work?