How headings are recognised
The converter measures the typical text height on each page. A line that is clearly taller than that, or a short bold line without closing punctuation, becomes a Word heading; much taller lines become Heading 1 and the rest Heading 2. Because Word headings are real styles, you can build a table of contents or change every heading at once after converting.