tar -zxvf extension.tgz
Another program called QuickZip does gzip'ed files IIRC. Note: Netscape often will gunzip .tgz files without letting you know, so tar -xvf extension.tgz may be all that's needed. .tar.gz is used more commonly in some circles.
Winrar can also handle tar and gz on windows.
The sdx utility has some knowledge of tgz files, there's a "tgz2kit" conversion command, and "ratarx" which can be used to get rid of duplicate files (ratarx stands for "reverse actions of tar x"). See "sdx help tgz2kit" and "sdx help ratarx".