When you have large applications it is necessary to optimize our code base so that it divides our code into parts and these parts are required when the browser needs them.