ECMAScript modules (ESM) are the standard JavaScript modules system supported natively from Node.js version 16 onwards, allowing the use of the 'import' statement. CommonJS modules, on the other hand, use 'require' for importing modules. ESM enables features like top-level await and is considered more modern than CommonJS.