How is XML used?

XML is used to provide structure to documents. It is one of the most widely used and best known formats for sharing information: between programs, people and computers, locally and across networks.