This is part of the internal DOM management provided by the browser. Although the functionality is similar to parentElement, it is not quite the same since there are two hierarchies superimposed on one another. One hierarchy simply contains objects representing the HTML tags. The other contains additional objects that help the browser maintain the text between the HTML tags.
The parentElement property is not DOM compliant whereas parentNode is.