Check out example codes for "what are benefits of zip files". It will help you in understanding the concepts better.
Code Example 1
Zip files (. zip or . zipx) are single files, sometimes called "archives", that contain one or more compressed files. Zip files make it easy to keep related files together and make transporting, e-mailing, downloading and storing data and software faster and more efficient.
Learn ReactJs, React Native from akashmittal.com