The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.| MDN Web Docs
HTML| html.spec.whatwg.org
The read-only sessionStorage property accesses a session Storage object for the current origin. sessionStorage is similar to localStorage; the difference is that while data in localStorage doesn't expire, data in sessionStorage is cleared when the page session ends.| MDN Web Docs