The Document Object Model (DOM) is a tree representation of your HTML page. JavaScript can read and modify this tree, changing what users see without reloading the page.
Every HTML element becomes a node in the tree. You can find nodes, change their content, add new ones, or remove them entirely. This is how modern web apps create dynamic interfaces.