A parser can identify headings, paragraphs, tables, images and reading order. Some documents expose this information directly, while scanned pages may require image-based recognition.
Preserving structure makes information easier to search and cite. For example, keeping table headings with their cells helps a model connect each number to its proper label.
ELI5
For example, a report may show quarterly sales in columns. Reading only a list of numbers would make it hard to tell which quarter each number comes from.
A parser can preserve the row and column labels so an assistant finds the correct figure and can point back to the report.
Does document parsing always use optical character recognition?
No. A searchable file can often provide digital text directly. Optical character recognition helps when text only exists in an image.
Why preserve page and section references?
They let a downstream application show where an extracted passage, figure or table came from.

