Digital circuits are built by combining large numbers of pieces, called gates. Gates take one or two electrical inputs which are either low (0) or high (1) current and output a single current. The gates act like negation, and, and or. FigureΒ 2.2.1 shows the symbols that are used on diagrams for these three gates.