A logic gate is a device that can be used to create an output from an input. Logic gates are made up of two or more transistors, and they can be used to perform simple operations like ANDing or ORing.