ELI5: Explain Like I'm 5

NOR gate

A NOR gate is a type of electronic device that does something called logical negation. This means that it takes in one or more inputs (like a light switch being turned on or off) and produces an output that is the opposite of those inputs.

Imagine you have a rule that says "if it's raining outside or I have an umbrella, I will bring my umbrella." A NOR gate would take in whether it's raining (let's say a 0 for no and a 1 for yes) and whether you have an umbrella (again, 0 for no and 1 for yes) and give you an output that would be 0 if either of those inputs were a 1 (because according to the rule, if either of those conditions are true, you don't need to bring your umbrella). If both inputs are 0, the output from the NOR gate would be a 1 because neither of those conditions are true and you should bring your umbrella.

In essence, a NOR gate is like a switch that is "off" only if one or more "on" switches are present.