CACIB interview question

How does random forest work ?