The goal of linear regression is to model the relationship between two continuous variables. There is an independent variable which is the predictor, and a dependent variable known as the response. It is used to test how changes in one variable influence the outcomes of another.
For Example
How weight influences fuel efficiency
How height influences weight
How time spent studying influences exam scores