Ericsson interview question

What is the difference between the bagging and boosting algorithm?