Anise is an herb that tastes like licorice. You can substitute fennel seeds for the same flavor when cooking; some cookbooks also say you can use "anise-like" herbs such as dill, basil, tarragon,...
There are different varieties of the herb thyme plant. The link below will take you to a page where different thyme plants are listed along with their photographs.