It inhabits tropical forests, thorn forests, mangrove swamps and savannas. They live in the Mud Kingdom, which consists of marshes, swamps, and bogs. Typically they inhabit dense vegetation in damp environments near lakes, swamps or rivers. They prefer to live in swamps and marshes. They inhabit swamps, streams, rivers, ponds, and lakes. Typically they inhabit dense vegetation in damp environments near lakes, swamps, or rivers. The dominant habitats are mangrove swamps and samphire flats. The region has large expanses of mangroves which dominate the swamps. Dungeons appear in areas that include forests, caves, mountains, swamps, underwater caverns, and buildings. The site was predominantly mangrove swamps and sand ridges. This promoted the development of extensive lowland swamps and forests in North America and Europe. Archerfish are found in the tropical mangrove swamps of India and Australasia. This includes rivers, swamps, and lakes. Muskrats follow trails they make in swamps and ponds. They can be found in deserts, tropical rainforest, cities, swamps, and alpine zones.