Root chicory contains volatile oils similar to those found in plants in the related genus Tanacetum which includes Tansy, and is similarly effective at eliminating intestinal worms.
Chicory is well known for its toxicity to internal parasites.