They are for decoration, and when the roots grow thick in the water column, they provide habitat (mini - biome) for life forms on the roots and in the water column of the root area.

The only nutrient they are known to take up at an appreciable rate is magnesium. Magnesium levels needs to be checked more often in a system containing mangroves.