Drop command in the mongo DB will drop all the records from the Collection. Also it will reset the indexes that will recreate again when the new record is inserted.

Syntax:                 db.CollectionName.drop()

The above Example will delete all the records from the ‘StudentDetails’ collection and reset the index. 

drop will give better performance than remove in mongo DB.