BIX Tecnologia Interview Question

Could you explain how tree models work?