If two non-stationary processes are cointegrated, that means a linear combination of the two processes are stationary. In a simple linear regression, we have the model form:
$y = b_0 + b_1x + e$
If we re-arrange, we can have something like
$(y - b_1x) = b_0 + e$
And thus, the linear combination of y and x are stationary with mean b0 and variance $\sigma^2$. If y and x are stock prices, then $b_1$ is the hedge ratio.
So what are the similarities and differences of cointegration and simple linear regression? I am not seeing the big picture for cointegration yet and why it is useful. The typical example of cointegration has to do with stock prices. Why not just take any two stocks prices, run a linear regression between them, check the residuals and make sure it passes the typical SLR assumptions? Basically the residuals show stationarity. And thus we can use typical regression methods as opposed to an entirely new suite of cointegration tests and methods.