The interaction between plants and microorganisms such as bacteria or fungi that affect nutrient uptake and plant health.