The principle active agent in garlic is alliin. Alliin and allicin are sulphur containing components.The sulphur compounds have antibiotic and antifungal effects that help stop the liver from producing too much cholesterol and thus help prevent blood clots in the brain and heart.