CVS Health Interview Question

How does random forest/ boosted trees work? and pretty basic ML stuffs