Wrote an article
https://tableless.com.br/entendendo-o-dom-document-object-model/