How to assign a category for a product while adding it on the web?

Step 1: Go to Product and services >> Click on add item.

Step 2: Add the Product details >> Go to Categories and assign category for the product >> Click on Add item.