Epazote (D. ambrosioides) is used as a leaf vegetable, herb, and herbal tea for its pungent flavor. Raw, it has a resinous, medicinal pungency, similar to oregano, anise, fennel, or even tarragon, but stronger. The fragrance of Epazote is strong but difficult to describe. A common analogy is to turpentine or creosote. It has also been compared to citrus, savory, and mint.
Although it is traditionally used with black beans for flavor and its supposed carminative properties (less gas), it is also sometimes used to flavor other traditional Mexican dishes: it can be used to season quesadillas and sopes (especially those containing huitlacoche), soups, mole de olla, tamales with cheese and chili peppers, chilaquiles, eggs and potatoes and enchiladas. It is often used as an herb in white fried rice and an important ingredient for making the green salsa for chilaquiles.