The Role of the Objective Function in Mathematical Optimization

In mathematical optimization, what is the objective function, and how is it related to minimization problems?