I am a beginner in electronics with less than 2 weeks of actual experience and less than 6 months of study time.
In figure 1 I drew a circuit implementing the NAND logic, while in figure 2 I drew the actual NAND gate (transistors and resistors) separately from other components (switches, diode, battery) implementing the logic.
I tried the same with AND gat in figure 3 and figure 4. But it appeared to be impossible to separate the actual AND gate from the other components without breaking the circuit. This is because the output of the AND gate is connected in series with the rest of the circuit, unlike the output of the NAND gate which is connected in parallel. So I had to separate the AND gate by NOTting the output of a NAND gate, as can be seen in figure 4. It took me 3 transistors and 4 resistors instead of 2 transistors and 3 resistors.
Is there any way of separating the output of the AND gate made up of 2 transistors and 3 resistors, so that this output can be fed into other logic gates?