When a relay is at rest, its contacts are either energized or de-energized, depending on its configuration. When the relay is activated, the contacts inside the relay deflect, causing the switch to either open or close, completing a circuit or interrupting one.