Scope and Collection API allows documents to be organized and categorized within a Couchbase Lite database. A collection is a document store defined within a database. A scope is generally a namespace for grouping multiple collections together.
A database can have multiple collections, and each collection will belong to a scope. A collection contains zero or more documents, and a document can only belong to a collection.
For more info about the Scope and Collection API in CBL, please visit https://docs.couchbase.com.