As previously mentioned, there are seven types of logic gates, the first being the AND gate. The AND gate communicates that if input one and input two read as 1, its output will also be 1. If they both read as false, then the output will be false or 0. If they read differently, then the output will be false or zero.
The second type of gate is the OR gate. This decides its output by finding truth in differing inputs. If input one is 0, and input two is 1, the output will be true or 1. However, if both inputs are 1, then the output will be 1 but if both are 0, the output will be 0.
The third logic gate is a NOT gate. This is also called an inverter. It has one input which will always differ from its output.
The fourth type of gate is a NAND gate. This gate operates as a NOT and an AND gate. If the inputs on this gate both read as 1, or one of them read as 1, then the output will be true. However, if both inputs read as true, the output of the gate will read as false
The fifth gate is a NOR gate. Like the NAND gate, this gate is a combination of two gates, these being the OR and NOT gates. The gate will complete an OR function and a NOT function to decide its output.
The sixth gate is an XOR gate, meaning either/or. The output will only be true if either input is true on its own.
The final gate is an XNOR gate. This gate is a combination of an XOR and NOT gate. It will complete an XOR function followed by a NOT function to find its output value.