If you want to add a category description to the category page, you need to open a file that displays categories in your theme, usually this is a file archive.php or category.php and add this code to it

Also you can use function in file functions.php

To display category description on any page write