Linear Regression is a simple machine learning model for regression problems, i.e., when the target variable is a real value.
The cost refers to the difference between the predicted value and the real value, or the error.