We use gates to make choices in circuits. A circuit is either a 0 or a 1 signal. It means it is either a high signal of +5 volts or a "1" or +0 volts which is a "0". Gates take 1 or more inputs of either a 0 signal or a 1 signal and gives an output of either a 0 or a 1 depending on the inputs. An AND Gate has 2 inputs. It will give an output of a 1 only if both inputs are a 1. Otherwise it is a 0.
Sign and Truth Table is as follows:
XYZ
000
010
100
111
1