People try taking star anise for respiratory tract infections, lung swelling (inflammation), cough, bronchitis, the flu (influenza), swine flu, and bird flu. They also use it for digestive tract problems including upset stomach, gas, loss of appetite, and colic in babies.