KBC Interview Question

What is logistic regression and how does it work?