Eating a clove or two of fresh garlic a day may indeed keep the doctor away, in part because it has immune-boosting, antibacterial, antiviral, and anti-fungal effects. Many of garlic’s therapeutic effects are derived from its sulfur-containing compounds, such as allicin, which are also what give it its characteristic smell. In general, garlic’s benefits fall into four main categories: