# Node.js Modules We split our code into different files to maintain, organize and reuse code whenever possible. A module system allows us to split and include code and import code written by other developers whenever required. In simple terms, a module is nothing but a JavaScript file. Node.js has many built-in modules that are part of the platform and comes with Node.js installation, for example, HTTP, fs, path, and more. Visit the following resources to learn more: - [@official@Modules: CommonJS modules](https://nodejs.org/api/modules.html#modules-commonjs-modules) - [@article@CommonJS vs. ES Modules in Node.js](https://blog.logrocket.com/commonjs-vs-es-modules-node-js/) - [@video@Modules in Node.js](https://www.youtube.com/watch?v=9Amxzvq5LY8&)