A study of 250 men who had sperm analyzed at a fertility clinic showed that men who ate higher amounts of fruits and veggies, particularly green leafy vegetables and beans (legumes), had higher sperm concentrations and better sperm motility compared to men who ate less of these foods.