system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How are logic chips (AND/OR/NAND/etc) actually built to work like their chosen logic gate?

Like with an AND gate I understand how it works in that an input of 1 AND 1 make an output of 1, but how do the logic chips actually perform the function? How would you build a logic gate without using logic chips?
gpt
The basic building block of electrical/electronic gates is the transistor. You can think of a transistor as an electrically operated switch. This switch has an input, output and a "switch" (also an input). If the switch is "on" it connects the input to the output, if the switch is "off" the input is disconnected from the output. 

By differing configurations of this switch (several transistors connected in different circuit patterns), all logical gates can be constructed.