In WordPress, tags and categories have a tremendous impact on your site’s rankings in search engines. When used correctly, proper use of tags and categories can boost your site’s SEO. The opposite is also true: when used incorrectly, it can harm your site’s rankings.
This article from the Yoast SEO blog explains it in further detail:
Hope this helps!