Suppose you want to provide a link to the RSS feed at the head of a category archive page. How would you generate that automatically?
If not the feed link, then the URL of the specific category, to which "feed/rss2/" could be added. This can be done in The Loop with the_category().
Or the category slug, which can be prefixed by "www.domain.com/blogdirectory/category/" and followed by "feed/rss2/". This can be done in The Loop with get_the_category().
Outside of The Loop, I get the name of the category with single_cat_title(), but that returns the name, not the slug (e.g., Rhode Island instead of rhode-island).