Star fruit and star anise are different. Star fruit is a tropical fruit with a unique star-like shape and a sweet and tangy flavor, while star anise is a spice derived from the fruit of an evergreen tree and has a distinct licorice-like flavor.