But it's not just the flavor that makes for an easy comparison between this candy, anise, and fennel: They all contain another compound called anethole, which gives them a similar aroma.
There are also oils designed specifically for candy making that come in flavors like orange and anise (aka licorice flavor) that can offset the sweetness. It's also common to use some type of food ...