Gates talk to each other
A gate's output is just a wire. That wire becomes another gate's input. You chain them. The result of one question becomes the starting point for the next.
Here, an AND gate feeds into a NOT gate. Toggle A and B. Watch the signal travel — through the first gate, across the connecting wire, through the second.
That's how computers build complexity. Not by inventing new rules, just by connecting the three they already have.