Bank of America interview question

Tell me the difference between linear regression and logistic regression