It inhabits primarily lowland freshwater and brackish wetlands. It also inhabits moist savanna and lowland forests. It inhabits rainforest, forest edge habitats and secondary growth, and sometimes mangrove forests. Typically, the lion inhabits grasslands and savannas, but is absent in dense forests. It typically inhabits deciduous forests, mixed forests and thornbrush forests. It also inhabits fragmented forest habitats, albeit at reduced density. It inhabits temperate and boreal forests up to an altitude of . The okapi inhabits canopy forests at altitudes of . It typically inhabits open habitats with some trees for shade. In Pakistan, it inhabits Himalayan forests and mountainous regions. In Thailand, it inhabits mixed deciduous, dry evergreen and dry dipterocarp forests. Vespula alascensis is a species of yellowjacket that inhabits North America. It originated in Borneo, where it inhabits dense jungle. It also inhabits mangroves in western Africa. It inhabits grasslands, moorlands and bamboo thickets at high altitudes up to on Mount Kilimanjaro.