The following command is used for inserting a document in MongoDB:
database.collection.insert (document)