Relays are electromechanical devices used to regulate electrical circuits by opening or closing a switch based on an input signal. Its construction typically includes a coil, a set of terminals, and a mechanical armature. When current flows through the coil, it creates a magnetic field that draws the armature, causing the contacts to close. This ac