Explain tree shaking.

Tree shaking is a process used in bundlers (e.g., Webpack) to remove unused code, particularly with ES6 modules. It reduces the bundle size and improves performance by analyzing and eliminating dead code.