Uglify is all about minimizing JS file by
- removing all the unnecessary white spaces
- modifying all functions and variable names to keep the file size to minimum as possible.
Minimum file size
- faster load times from server
- compiler or interpreter needs to process less amount of code,
Normally, Uglify is done at the expense of making it extremely difficult to read in return for better performance.