They live in savannas, tropical dry forests and reedbeds along rivers and lakes in the lowlands, but, despite the name, are not found in rainforests. Although they are adaptable animals, being found even in dry steppe, they prefer wetland environments with tall grasses or reeds in which to hide.