FICO interview question

Explain how logistic regression works