Pregunta de entrevista de FPT Software

What is logistic regression? When do we need to use it?