Fennel seeds are used whole or ground to flavor bread, cakes, pastries, soups, stews, sweet pickles, fish and sauerkraut. The seeds are mainly used as a flavoring agent in medicines and to disperse flatulence. It is an ingredient of the official compound powder of liquor iced.