Mangrove swamps are coastal wetlands characterized by dense growth of mangrove trees, which are salt-tolerant plants that thrive in brackish water. They provide important ecological functions such as protecting coastlines from erosion and serving as nurseries for various marine species.