Tags in Microsoft Teams are used to mention a group of people at once and managed using UI and PowerShell.
— Read on m365scripts.com/microsoft-teams/a-complete-guide-to-manage-tags-in-microsoft-teams/