what is a framework
Frameworks are there to provide a boilerplate or base wire frame to
build applications on.
Frameworks are generally more application specific.
eg: Python can be used to do anything computing.
But Django framework on python is used to build web-apps and web services.