Lets use Mongo database to fetch the data, and use for data analysis and also application of machine learning algorithm.