gz Gzip Archive Format
GZ is a gzip stream, the Unix world's default quick compressor. Like bz2 it compresses exactly one input and carries no directory of members, which is why it is so often paired with tar rather than used on its own.
Internally it is DEFLATE, the same LZ77 plus Huffman combination ZIP uses. The appeal is speed and predictability: gzip compresses and decompresses quickly, needs little memory, and is present on effectively every Unix-like system without installation.
Its ratio is the weakest of the formats considered here, which is the trade it makes. Where throughput matters more than the last few percent of size, as in log rotation or HTTP transfer, gzip is usually still the right answer.[1][2][3]