The output of an AND gate is true (logic 1) if and only if all of the inputs to the gate are true (logic 1). A truth table is used to illustrate how the output of a gate responds to all possible combinations on the inputs to the gate. The AND gate can be illustrated with a series connection of manual switches or transistor switches.
The AND operation is usually shown with a dot between the variables but it may be implied (no dot). Thus, the AND operation is written as X = A .B or X = AB.
The number of combinations of a truth table is equal to 2N where N is the number of inputs. So a 2 input gate would have 22 outputs or 4.
Example waveform: