Modern agricultural practices largely rely on high inputs of mineral fertilizers to achieve high yields and involve applications of chemical pesticides to protect crops against pathogens and pests.