The ancient friendship between legumes and nitrogen-fixing bacteria — enriching soils naturally, and sometimes influencing ferments of bean-based foods.