The AND gate has two inputs A and B. The output of the gate, A.B, depends on the two inputs according to the truth table ... and vacuum tube logic was replaced with diode and transistor logic.