Mangroves play a crucial role in coastal protection by acting as natural barriers against storm surges, high winds, and coastal erosion. Their dense root systems help to stabilize coastal sediments and reduce the impact of waves, thus providing protection to coastal communities and infrastructure against natural disasters. Additionally, mangroves act as nurseries for various marine species, which further contribute to the overall health and resilience of coastal ecosystems.