A query language is a codified way for a user to access the data in a database. A query allows a user to retrieve one piece of data or whole sets of data that share one or more characteristics. The correct query language to use depends on the structure of the database. A relational database might use SQL, while a NoSQL database might use MongoQL. These are just two examples of many possible language options.