Linear regression finds the straight line that best fits a set of data points to understand and predict the relationship between two variables: a dependent variable that is being predicted and an independent variable that influences it. For linear regression to provide accurate results, its model assumes a linear relationship between the variables, independence between observations, constant error variance across different levels of the independent variable, normally distributed errors, and no multicollinearity between independent variables.