Pregunta de entrevista de Sportion

How does gradient boosting work?