The relationship between categories and products is not a right example for you, because it is a many-to-many relationship, not one-to-many.
An example of one-to-many relationship with products on the “many” side is a relationship bethween products and their types.