In MongoDB, there are mongod and mongos, that are two totally different objects.
- `mongod` - the main server process, commonly also known as the Mongo Daemon. This daemon performs storage and queries data handling, even carries out all the actions of a database. Thus, launching MongoDB with `/./mongod --dbpath <path to mongodb>`, you start one run of the instance of the database server listening for incoming requests and connections.
- `mongos`: This term refers to Mongo Shard Router. The application is used with a sharded cluster. It provides for the role of being a query router. It routes requests by the client to proper instances of `mongod`, which hold the related data. Clients do not need to connect directly to servers running `mongod`, but instead connect to instances of `mongos`.