AT&T interview question

Explain to me the difference between linear regression and logistic regression.