Linear regression is a statistical method used when we want to model a relationship between a explanatory (dependent) variable and a response (independent) variable. A model will be generated that fits a line of best fit through data points that can be used to estimate and predict future behavior of the input-output relationship. This is useful to make predictions about the output with limited information about the input.
Regression is used in all areas of science and engineering work for its use in analyzing patterns and providing quick error estimations about relationships. Regression does not NEED to be linear, but a linear relationship is the simplest case of regression that will be presented here.