Mycorrhizal fungi form symbiotic relationships with plant roots. The fungal hyphae extend far into the soil, vastly increasing the surface area for absorption of water and nutrients (particularly phosphorus and nitrogen) beyond what the plant's root hairs can reach. This enhanced absorption capacity helps plants cope with drought stress. Mycorrhizae can also modify the rhizosphere environment and interact with soil microbes, improving plant tolerance to soil acidity/alkalinity and heavy metals, and enhancing resistance to root pathogens.