parentNode

The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node.

MDN Reference