To add a tax to ingredients:

Step 1: Visit Setup > Inventory Setup > Ingredients and Sub Recipes.
Step 2: Type in the ingredient in the search field and click Edit.
Step 3. Enter the tax rate on Tax On Purchase.