Devoteam Interview Question

How does logistical regression work