In XML, an element is the central building block of any document. Individual elements can contain text, other elements, or both.