An objective function is a mathematical expression that defines the goal of an optimization problem, typically to maximize or minimize some quantity. It serves as the core of optimization models in various fields, guiding decision-making by quantifying the desired outcome. In economic and social science applications, objective functions help allocate resources efficiently, assess trade-offs, and determine optimal strategies.