CategorySet work as a database table. All operation done in Category Model which is linked to categories database table. To access categorySet we use below function.
$obj = App::CategorySet(Name)
For example:
App::CategorySet('blog-cat')->findAll();