La propriété élément.parentNode
<div id="parent">
<p id ="first-child">Some child text</p>
<p id ="second-child">Some more child text</p>
</div>
<script>
const firstChild = document.getElementById('first-child');
firstChild.parentNode; // reference to the #parent div
</script>
Douglas Stemple