Pregunta de entrevista de Hunch

How is logistic regression different from linear regression?