Used as a spice in cooking and as a key ingredient in Chinese five-spice powder; used to extract anethole; employed as a flavoring agent in beverages, foods, and tobacco products; used in the pharmaceutical industry for its carminative, stomachic, and antispasmodic properties; utilized in oral care products such as toothpaste; serves as a raw material for the production of anethole, anisaldehyde, and anisyl alcohol.