A truth table is a systematic enumeration of all possible truth value assignments to a set of variables, together with the resulting truth value of a logical expression under each assignment.
Truth tables serve two purposes:
The visual model: a truth table is a switch-and-circuit diagram flattened into a table. Every row is one configuration of all switches. The output column shows whether current flows (True) or not (False) through the circuit for that configuration.