A logic gate is an electronic component that can be used to conduct electricity based on a rule. The output of the gate is the result of applying this rule to one or more "inputs". These inputs may be two wires or the output of other logic gates.