Package.json vs Package-lock.json
Packages are like the different folders on your computer. You may keep pictures in one, videos in another, or even an application for that matter. Technically, it is a symposium of related classes and interfaces. A set of these packages make up a library. So whenever you install one of these libraries or a package on your computer, that gives you all the functional codes required to run a particular service in the program.