Question: which one of the following quantities does the least squares method minimize?
Answer: The most important application is in data fitting. The best fit in the least-squares sense minimizes the sum of squared residuals (a residual being: the difference between an observed value, and the fitted value provided by a model).