When the button is not pressed, the NC contacts are connected, completing one circuit, while the NO contacts remain open, interrupting the second circuit. When the button is pressed, the NC contacts open, breaking the first circuit, and the NO contacts close, completing the second circuit.