All plant parts are edible. The root is often boiled in soups, and the stem blanched before serving. The leaves and young shoots, which have a strong celery-like flavour can be eaten either raw in salads, or cooked in stews and soups. The flower buds can be eaten raw, and the seeds are a spicy substitute for pepper.
As a bitter and digestive herb, it has been used in the past as a medicinal plant.