You can see from this photo why the mangrove swamps help to prevent erosion of the sea shore, especially during hurricanes and other lesser storms. Every one of those root tops can develop into a tree. If you look closely, you will see that some of them have already sprouted leaves. Imagine this mass of roots spreading unbroken along the shore. Now image what happens to the shore when the mangrove trees are removed for development.