The byproduct of the phosphorus removal is called struvite and could be used as a fertilizer (Mg, N, P source). Magnesium ions provoke the increase of the chlorophyll production since they occupy the central position in its molecule, while N and P are important nutrients for the plants. In that way the treatments byproduct can be sold as fertilizer making the whole treatment process even more profitable.