The document object is your entry point to the DOM. It represents the entire HTML document and provides methods to find and create elements.
console.log(document.title); // Page title
console.log(document.body); // <body> element
console.log(document.head); // <head> element
All DOM manipulation starts with document.