Framework : Framework is a platform to build various web based applications. It provides a standard way to build and deploy various applications. ex :Angular, Vue.js Library : Library consist of collection of classes and reusable codes or functions which can be used to solve specific problem or add specific feature to your code. This makes developers work smooth during development process. ex: React, jQuery Inversion control: However, the main difference between framework & library is who is in control of the development process. with libraries we have privilege to call whenever it feels appropriate and required. F rameworks on the other hand tells you where to put your code. Basically, It tells us what to do. Because it has best practice of doing things and it also provides tooling support us. Thanks for reading. Source: Internet.