People Group interview question

Explain what the linear regression algorithm does?