They’re just different objects you’re dealing with:
- The DOM is the Document Object Model, which deals with the document, the HTML elements themselves, e.g.
documentand all traversal you would do in it, events, etc.
- The BOM is the Browser Object Model, which deals with browser components aside from the document, like
screen(as well as some others that vary by browser).