Licorice is a legume native to southern Europe and Central Asia. The distinctively scented extract obtained from its roots is used as a flavoring agent. Herbs with a similar scent include anise, chervil and licorice basil.
While the leaves of anise have a slight licorice scent, the plant is grown primarily for its seeds, which have a much stronger flavor and are often used to flavor baked goods. Chervil has a mild licorice flavor and is used to season egg dishes and souffles; it can also be used in soups. Licorice basil can be used to make pesto, a common flavoring agent in Italian cooking.