RapiPay Fintech Interview Question

How does an XgBoost model work?