How the bookmark list is built
If the PDF already has bookmarks, the tool shows that list and asks for explicit confirmation before replacing anything.
If it has none, the tool reads the tagged headings (H1 to H6) in the structure tree and nests them into an outline: each bookmark's name comes from the heading's own text, and each points at the page where that heading sits.
Nothing is written until you review the proposed list and choose to apply it — then the tool writes the bookmarks into a copy of the PDF for download.
If the PDF has no tagged headings, or their text cannot be read, the tool says so instead of guessing.