As described in the below article, webpack exists to give us a feature of JavaScript that exists in most other languages by default – modularization.
This is the best article I’ve come across on the subject of webpack, a Node.js bundler.
I highly recommend you read it.