AND and NAND
We can make AND and NAND gates from two transistors. A transistor is switched on if there is more than 0.6V at the base.
Circuit Diagram:
.