Fusemachines interview question

Q: How does gradient boosting works?