Advantages of RPM


Why are RPM package managers preferred over tar files? I read that “rpm is software package which has been compile and optimise by particular distro provider”. But tars are compressed files so aren’t they optimized too?