What you'll do: add a category (for example Drinks), add a sub-category under it (Juices), and use them on products.
Before you start: your role needs the Add category permission. Categories must be switched on in Settings → Business Settings → Products & Stock (Categories, and Sub-Categories if you want them), or the fields don't show on the product form.
In the sidebar, open Products → Categories.
Press Add New.
1 Add New · 2 Categories table Type the Category Name. Code and Description are optional; you can also add an Image (shown in the online store).
For a sub-category, switch on Add as sub-taxonomy and choose the parent in Select Parent. This switch only appears once you have at least one category.
1 Category Name · 2 Add as sub-taxonomy Press Save. Sub-categories appear under their parent in the table; press the arrow next to a parent to show them.
Use the category on a product: on Add Product or Edit, open Categorization and choose the Category and Sub Category.