Use the following command if you want to create a tar and compress a file (or folder).
tar -czf /path/to/save/file.tar folder_or_file_name
The options used in the above command are outlined below for your understanding.
-c = create
-z = compress a file
-f = use the file mentioned instead of tape drive