You can categorize files and folders to group similar content into pre-defined categories.
When you click on a category, either next to content in the document library or in the explorer panel, all content in that category is displayed in the document library. When you click on a tag, either next to content in the document library or in the explorer panel, all content with that tag is displayed in the Document Library.
You can also search for content using tags as the search term.