DOM stands for the Document Object Model; this is an API for accessing XML or HTML structured documents.
The Document Object Model is a platform and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents.
The parser returns a tree built during the document analysis.