The leaves and seeds of dill are used for flavoring and for medicinal purposes.