
Regression can't really be considered separately from correlation. Regression encompasses the linear model, the techniques for obtaining the coefficients for the linear model, and for using the model in prediction and explanation.

Y is the score on the dependent (response, criterion, outcome) variable; b0 is the regression constant; b1 is the regression coefficient; X is the score on the predictor (independent, explanatory) variable; and e is the error in predicting Y, also called the residual.

Yhat is the predicted score.
The goal is to come up with a constant and regression coefficient that defines a straight line, such that, the sum of squared residuals is a minimum.
