These special codes then are used to restore the repeated data back into the files, when they are uncompressed. A zip file’s size is made physically smaller by combining the files into a single file and compressing the file by removing repeated patterns in the data with special codes. The resulting file will have “.zip” as the file suffix, hence the name.
Combining files together, in this case a collection of image files, is a common practice before transmitting over the internet.