What is npm, and what is its purpose?

npm (Node Package Manager) is the default package manager for Node.js, used for managing libraries and dependencies in Node.js applications. It allows developers to install, update, and manage packages easily. For example, you can install a package like Express by running npm install express, which downloads it and adds it to your project.