XZ is a compressed archive file category format developed by The Tukaani Project. The full original name of the format is XZ Compressed Archive. Files of this format are compressed using the LZMA2 algorithm. In its functions, it is similar to the GZIP and BZIP2 formats, since it is used as a container for a single file. A file extension of this format may look like .TXZ or .TAR.XZ. XZ files can be created using the TAR archive compression tool, and as a result, they can contain archives created using highly compressed compression.
ZIP is one of the most popular and common archive or compressed file formats. The full name is Zipped File and the original name is Compressed ZIP archive file. The ZIP extension, which is used to package or compress files, was developed back in 1989. Its creator was Phil Katz, founder of PKWARE Corporation. Initially, the format was used in the PKZIP program, but now there are many other utilities to work with ZIP files. The ZIP format uses a standard compression type for compression, in which all individual files in the archive are compressed separately.