XQuery is an query language that allows to a user and programmer to extract information from an Extensible Markup Language which is called XML file or any collection of data form. XQuery be easy to understand and use because the syntax is too normal form. By Using XQuery we can view a relational database table as an XML document and XQuery is used under development by the World Wide Web Consortium. XQuery is used by several major Companies likes IBM, Microsoft, and Oracle. XQuery have necessary data types which are needed to represent XML values. It is run on Node values and XQuery have elements, attribute, namespace, text, comment, processing-instruction, and document called Root nodes. XQuery implementations use DOM objects to implement node values, though implementations may use other representations.