With the open mode you can access the Shadow DOM via the shadowRoot property of the HTML element.
With the closed mode you cannot. shadowRoot will return null.
You can use both modes for you want to achieve.
Here is a detailed explanation of the differences.