XML (eXtensible Markup Language) is used to describe data and its structure. It allows tags to be defined for different applications. XML documents can be transformed into other formats like HTML for display. XML uses tags enclosed in angle brackets that must be properly nested. Documents have a root tag and follow rules like being case sensitive. Data types and structures are defined in Document Type Definitions (DTDs) or schemas. XML documents have a tree structure that can be traversed to extract information. Extensible Stylesheet Language Transformations (XSLT) is used to transform one XML document into another format like HTML.