AND gate consists of three transistors.
It outputs 1 only when both inputs A & B are 1
The transistor is "on" initially.
When upper transister switched "on", they send a signal to the lower transistor to switch the lower transistor "off"
The Truth Table for AND gate
In this only when A & B are 1 outputs 1
IC 7408 use AND gates