What does the word wormwood refer to?

The word "wormwood" refers to traditional use as a cure for intestinal worms. Can be used for humans and animals