 Logic gates are the building blocks of every electronic thing around us. They take in inputs, and depending on the type of gate, they might send out an output. In electronic circuits, we have a power supply and electronics that feed from it. Logic gates work the same way. It's just another electronic we are feeding with power. We're going to stick to three types of logic gates. And XOR and OR. And gates require both inputs to be on to send power out. If one is on and one is off, it will not work. If both are off, same thing. OR gates, which stands for exclusive OR gates, requires that one input has to be exclusively on while the other has to be off. Anything else will not work. OR gates are a mashup of the last two. It requires either gates to be on exclusively, or that both be on together. Anything else will not work.