Star anise contains anethole, the same compound that gives the unrelated anise its flavor. Recently, star anise has come into use in the West as a less expensive substitute for anise in baking, as well as in liquor production. Star anise is an ingredient of the traditional five-spice powder of Chinese cooking. It is also a major ingredient in the making of ph?, a Vietnamese noodle soup.