CACIB Interview Question

How does random forest work ?