Logic gates with the different gates and truth tables.
An AND gate has two or more inputs and one output. All of the inputs must be 1 for the output to be 1 so if one input is 0 than the output will always be 0!!!
An OR gate has two or more inputs and one output. If at least one input is 1 than the output will be 1 so only if none of the inputs are 1 than the output will be 0!!!
An NOT gate has one input and one output. If the input is 0 than the output is 1 and the opposite, if the input is 1 than the output is 0. The output is the opposite to the input.