Those objects and functions that the browser provides is known as the Document Object Model (DOM).
That's why frameworks are fantastic tools when you have to create a big application because they have simple interfaces to tasks that would be too complex if you just use Vanilla JS. Thanks to frameworks, you can create big apps in a maintainable way.
But the flip side is, frameworks add bloat to your project. Frameworks are big pieces of code and they can make your app load slower. So, what do you do?
In big applications, the advantages are bigger than the disadvantages. In those cases, the best thing to do is to use frameworks anyway.