They are both used in Mexican cooking, but their flavors are different. Wormseed has a more spicy flavor while epazote has a bitter taste. Epazote also smells stronger than wormseed when it is cooked or dried. Wormseed grows in warmer climates while epazote prefers cooler temperatures, so the two plants should not be confused with each other.