Hadoop is a combined set of open-source utilities that allows us to store a large amount of data and to perform the computations. Its framework is based on Java programming which is similar to C and shell scripts. In other words, we can say that it is a platform that is used to store, transform, manage, and decode the data for various big data applications running under clustered systems. The main components of Hadoop are HDFS, Map Reduce, and YARN.
MongoDB is a cross-platform database program that is document-oriented. It is a NoSQL database program and uses JSON documents (Binary-JSON, to be more specific) with the schema. MongoDB Inc. has developed MongoDB and has been licensed under the Server Side Public License (SSPL).