Heliotrophism is the answer to your question.
Mangroves are most likely to be found in brackish water. Brackish water is more saltier than freshwater but it doesn't quite reach the level of seawater. Fun fact mangroves are called halophytes.
Transpiration. I hope this works.