The tar command is used to create tar archives by converting a group of files into an archive. It also has ability to extract tar archives, display a list of the files included in the archive, add additional files to an existing archive, as well as various other kinds of operations.