.catpreferences and .catsettings files

What are .catpreferences and .catsettings files and what's the difference between them?