Coffee grounds change the nutrients available to soil in which the orange tree is planted, adding phosphorus, magnesium, nitrogen, copper and potassium. The Infinite Kitchen reports that adding coffee grounds to the soil improves the soil structure immediately and over time as the grounds break down.