Define a logic gate.
A digital circuit with one or more input signals but only one output signal is called as a Logic gate.