Logic Gates
AND Gates
AND gates take two inputs, if both inputs are 1 then it returns a 1. Otherwise it returns a 0.
OR Gates
OR gates take two inputs, if at least one is 1 then it returns a 1. Otherwise, it returns a 0.
NOT Gates
NOT gates take one input and return the opposite of said input.