A production function is a mathematical representation that shows the relationship between inputs (such as labor and capital) and outputs (such as goods or services) produced by a firm. It demonstrates how much output can be produced with different combinations of inputs.