A container archive

A .tar.gz file is a container archive. It can bundle multiple files into one. To compress the package content, an additional programm such as gzip is needed.

tar xvzf file.tar.gz

Options

x - tells tar to extract the files
v - verbose (outputs process information to the command line)
z - tells tar to uncompress the files
f - tells tar that a file name is provided