Consuming garlic helps counteract age-related changes in gut bacteria associated with memory problems, according to a new study conducted with mice. The benefit comes from allyl sulfide, a compound in garlic known for its health benefits.