Least-squares regression is a statistical method used to determine the best-fitting linear equation that describes the relationship between a dependent variable and one or more independent variables. It aims to minimize the sum of the squared differences between the observed values and the predicted values from the regression model.