XML is a markup language that is used to describe data. It uses tags, which are enclosed in angle brackets, to provide information about the data. Tags in XML can mean whatever the user wants them to mean and are used to describe the data, whereas tags in HTML are used to describe how to display the data. XML documents form a tree structure with a single root element. XML is often used to store and transfer data.