Dipper interview question

What is the difference between bagging and boosting in ensemble method?