It's used as a non-copper ich treatment.
Supposedly after using garlic extract the garlic finds it's way to the slimey coating of a fish's exterior, making it unpalatable or inhospitable to parasites.
I don't know for sure if it works, but I do soak food in garlic extract once or twice a week because it probably can't hurt.
Bluto