A compound called anethole is responsible for the licorice-like flavor of both plants. The star anise pod, which is shaped like a star (hence its name), has six to eight points, each containing a single seed. Both the seeds and the pod contain the sweet, potent anise flavor