In my opinion, framework is a library which guide you to complete a specified task.
For example, spring framework provides specific syntax such as annotation, structure or syntax for developers to follow and then developers can complete the tasks.
Spring is more than a framework, it's a whole ecosystem: you cannot pick up something from Spring that looks like a library as it comes with the whole Spring ecosystem dependencies. It's not just a set of libraries that "work well together" (as others have written), they depend on each other (and why I avoid anything Spring, just like I avoid frameworks in general)
The situation of spring is very similar to angular, react, vue.
I would say when many people use a framework, the framework would be a ecosystem.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.