From WebMD.com ...
Garlic is an herb. It is best known as a flavoring for food. But over the years, garlic has been used as a medicine to prevent or treat a wide range of diseases and conditions. The fresh clove or supplements made from the clove are used for medicine.