Garlic may help the body resist or destroy viruses and other microorganisms. It does this by boosting the immune system and helps you recover faster, especially when fighting colds, the flu, and other respiratory infections like COVID by warming the lungs, to clear phlegm.