Star anise contains anethole, the same compound that gives anise, an unrelated plant, its flavor. Star anise has come into use in the West as a less expensive substitute for anise in baking, as well as in liquor production, most distinctively in the production of the liqueurGalliano.Star anise enhances the flavor of meat.