How it works
AND is true only when both parts are true. The door needs the key AND the code.
OR is true when at least one part is true. The bell rings for the front OR the side button.
NOT flips an answer, so true becomes false and false becomes true.
Programs use these three words to build big rules out of small checks.