Macs handle these files natively. Simply the file, and the Archive Utility will automatically unpack it into a folder. On Linux (via Terminal)
Example:
If you're new to .tar.gz files, start by learning how to extract and create them using command-line tools or GUI utilities. With practice, you'll become more comfortable working with these versatile files. what is a tar.gz file
tar -tzf file.tar.gz