Capped collection is one of the variant of collection in mongoDB. Capped collection is used to put limitation on maximum disk size in term of bytes. Even for a capped collection, limit can be put on max # of documents.
When max number of documents in a capped collection reaches, oldest document in capped collection is deleted automatically without executing any command explicitly.
Wherever fast insertion and reading the document is needed, capped collection is preferred.