The roasted and ground pods are used to make carob flour, which is used in the production of sweets and cakes as a healthy, allergen-free substitute for chocolate.