A truth table is a mathematical table used in logic to show the output of a Boolean function for every possible combination of its inputs. Each row in the table represents a possible set of input values, and the corresponding output for that combination. Truth tables are commonly used to represent the behavior of logic gates and digital circuits. They provide a clear and concise way of analyzing how a Boolean function behaves for all input possibilities, aiding in the design and simplification of logical expressions.