XQuery stands for XML Query Language. It is a functional programming language designed to make it easy to query and transform XML documents. XQuery is a combination of several languages: XML, XPath, FLWOR, and XML Schema.
XQuery is one of the languages that you can use in MarkLogic, Oracle Database, MySQL, SQL Server, etc. Some servers, like MarkLogic, can use also XQuery to query and transform JSON documents.