Basil lookalike that tastes like aniseed.
You bought thai basil. It's used a lot in south east Asia, and an anise-like taste is one of its qualities. 

I don't use it often, but I always have some in stock in the freezer, for some thai or Vietnamese curries or soups.