Inside of the NOR(RED), and NAND(BLUE) using RTL(Resistor-Transistor Logic). The transistors in "NOR" are in "parallel", and the transistors in "NAND" are in "series". "NOR" is the invert of "OR" and "NAND" is the invert of "AND".
NOR(¹/+) NAND(¹/×)
(-)(-)=(+) (-)(-)=(+)
(-)(+)=(-) (-)(+)=(+)
(+)(-)=(-) (+)(-)=(+)
(+)(+)=(-) (+)(+)=(-)