MongoDB uses its own query language, called the MongoDB Query Language (MQL). The structure of MQL is not the same as SQL, which is regularly used for database tasks. The MongoDB documentation provides a comparison of the two query languages.