Following function is used to get category name by using category id. Parameters for this function are category id.
<?php $cat_name=get_cat_name( $cat_id ) ?> /* Parameter integer category id returns category name */
Credits
WordPress Codex
Hire a WordPress Expert for your website to create wordpress themes