An electronic device to control the flow of signals. The output of a gate will depend on the input signal(s) and the type of gate. The components of a computer system can all be seen as combinations of a number of gates, each with a number of possible inputs and a single output.