Categories must be created before products.
A product can belong to one or more categories. This allows in the application to display the list of products belonging to the same category. For example, a pair of pants could be part of the categories “Jean”, “Levi’s”, “Low waist”.