in fact, to use a still living example, cougars live in every environment on both American continents except for the Arctic: they're in desert, jungle, boreal forest, TEMPERATE forest, marshes, mountains, plains, AND increasingly in urban settings
Jaguars are the same. I saw a doco the other day with a jaguar killing and eating a caiman in a thickly forested swampland, yet there are jaguars wandering into the southwestern deserts of the USA as well.