Garlic and ginger are rich in anti-inflammatory, antioxidant, antiviral, and antimicrobial compounds. As a result, including them in your diet may help keep your immune system in good shape.