It inhabits tropical forests, thorn forests, mangrove swamps and savannas. Saltwater crocodiles live in mangrove and salt marshes on the coast near the reef. Saltwater crocodiles live in mangrove and salt marshes on the coast. It favors dipterocarp, mangrove and riverine forests. The site was predominantly mangrove swamps and sand ridges. The coastal area contains pockets of wetland and mangrove colonies. There are also areas with savanna, beaches and mangrove forests. American white ibises that feed in mangrove swamps focus on crabs. Large tracts of mangrove forests have been destroyed. Originally, Batam Island had 41,500 hectares of mangrove forests. The state coastline is covered with mangrove and nipah forests. Dumai is home to many beaches and mangrove forests. The campaign destroyed of upland and mangrove forests and thousands of square kilometres of crops. Backwaters in Kerala have high density of mangrove forest on the shores. They are often found in areas with mangrove or seagrass.