Extensible Markup Language (XML) is a markup language for encoding documents to be read by humans and machines.

Markup languages are used to annotate documents in a way that identifies the structures within them.

A document contains a number of different types of text, including content, titles, footnotes or tables. When it is structured in a markup language, the markup language distinguishes these different types of content.