Mycorrhizal fungi form symbiotic relationships with plant roots where they facilitate the uptake of nutrients like phosphorus and nitrogen from the soil and transfer them to the plant in exchange for photosynthetic carbon compounds. Root exudates also play a role in nutrient absorption. Plants secrete organic compounds and ions from their roots which acidify or alkalize the soil environment to solubilize nutrients and attract beneficial microbes that aid in mineral uptake. These symbiotic relationships between plants, mycorrhizal fungi, and microbes form the basis for efficient mineral nutrition in plants.