Xgboost is an interpretation-focused method, whereas neural nets based deep learning is an accuracy-focused method. Xgboost is good for tabular data with a small number of variables, whereas neural nets based deep learning is good for images or data with a large number of variables.