Garlic has impressive antibiotic properties when fresh cloves are crushed. I don’t think the heart benefit is proven.
allicin in garlic and onions is the antibacterial compound that kicks’ass.