The Nipa tree is an 'associate' mangrove - which means that it is found further inland as it can't take high salinity. It bears a globular fruit cluster that can be cut open and eaten.
Nipa is planted because it's leaves are used for thatch, and it's sap, when boiled down can make a very healthy sugary syrup. In fact, 1 hectare of Nypa will produce 50% more sugar than sugar cane.
Nipa is also one of the oldest surviving plants - 70 million years old - it has learnt to adapt - so it's trunk lies horizontally under the ground - with only the leaves exposed above the surface.