In MongoDB, a database is a container that holds collections of documents. It serves as the top-level structure for organizing data in MongoDB, similar to a database in a relational database management system (RDBMS).