Node_modules dependencies vs. package.json file


If I delete my node_modules folder, which contains dependencies needed by specific dependencies stored in my package.json file, how are my dependencies saved inside my package.json still able to work?

Are the node_modules dependencies saved somewhere else, like package.json-lock?

BTW, what exactly is package.json-lock? Thanks!