The connection

You know what a switch does. On or off. That's still the idea.

Here's the only new thing: connect two switches so that one's output feeds into the other's input. Now they're not independent. They affect each other.

That's a circuit — and now they can do something a single switch never could.

They can make a decision.