This chapter discusses XML and how it can be used to store and exchange structured, semi-structured, and unstructured data over the web. It covers the XML data model and how XML documents can be defined using DTDs or XML schemas. It also discusses how XML documents can be stored and queried in databases, including extracting XML documents from existing relational databases.