What is the purpose of shadow root?

Why use shadow root? Can you explain?

The shadow root is present at the top of the shadow tree. On the other hand, shadow host is the element where the tree attaches itself ( ).

https://polymer-library.polymer-project.org/2.0/docs/devguide/shadow-dom