Question: Why does Yosemite National Park contain a wide variety of wildlife species?
About the article "Yosemite National Park", section "Habitats".

Candidate passages:
With its scrubby sun-baked chaparral, stately groves of pine, fir, and sequoia, and expanses of alpine woodlands and meadows, Yosemite National Park preserves a Sierra Nevada landscape as it prevailed before Euro-American settlement.
In contrast to surrounding lands, which have been significantly altered by logging, the park still contains some of old-growth forest.
Taken together, the park's varied habitats support over 250 species of vertebrates, which include fish, amphibians, reptiles, birds, and mammals.
Along much of Yosemite's western boundary, habitats are dominated by mixed coniferous forests of Ponderosa Pine, Sugar Pine, Incense-cedar, White Fir, Douglas Fir, and a few stands of Giant Sequoia, interspersed by areas of Black Oak and Canyon Live Oak.
A relatively high diversity of wildlife species is supported by these habitats, because of relatively mild, lower-elevation climate and the mixture of habitat types and plant species.
Wildlife species typically found in these habitats include American black bear, Bobcat, Cougar, Gray fox, Mule deer, Mountain kingsnake, Gilbert's skink, White-headed Woodpecker, Brown Creeper, Spotted Owl, and a wide variety of bat species.
In the case of bats, large snags are important as roost sites.
Going higher in elevation, the coniferous forests become purer stands of Red Fir, Western White Pine, Jeffrey Pine, Lodgepole Pine, and the occasional Foxtail pine.
Fewer wildlife species tend to be found in these habitats, because of their higher elevation and lower complexity.
Species likely to be found include Golden-mantled Ground Squirrel, Chickaree, Fisher, Steller's Jay, Hermit Thrush, and Northern Goshawk.
Reptiles are not common, but include Rubber Boa, western fence lizard, and Northern Alligator Lizard.
As the landscape rises, trees become smaller and more sparse, with stands broken by areas of exposed granite.
These include Lodgepole Pine, Whitebark Pine, and Mountain Hemlock that, at highest elevations, give way to vast expanses of granite as treeline is reached.
The climate in these habitats is harsh and the growing season is short, but species such as Pika, Yellow-bellied Marmot, White-tailed Jackrabbit, Clark's Nutcracker, and Black Rosy Finch are adapted to these conditions.
Also, the treeless alpine habitats are the areas favored by Sierra Nevada Bighorn Sheep.
This species, however, is now found in the Yosemite area only around Tioga Pass, where a small, reintroduced population exists.
At a variety of elevations, meadows provide important, productive habitat for wildlife.
Animals come to feed on the green grasses and use the flowing and standing water found in many meadows.
Predators, in turn, are attracted to these areas.
The interface between meadow and forest is also favored by many animal species because of the proximity of open areas for foraging and cover for protection.
Species that are highly dependent upon meadow habitat include Great Grey Owl, Willow Flycatcher, Yosemite Toad, and Mountain Beaver.
The Idaho Panhandle National Forests contain a wide variety of wildlife.
Whitetail Deer, Mule Deer, Elk, Moose, Coyote, Wolf, Bobcat, Cougar, Wolverine, Black Bear and even Grizzly Bear are seen there.
Bird species include Wild Turkey, Blue Jays, California Quail, numerous species of Grouse, Osprey, Golden Eagle, Bald Eagle and numerous types of owls.
The rivers and lakes in the Panhandle hold some of the best fishing locations in the world. 
Yosemite National Park is a national park in the United States.
Yosemite may also refer to:Places: Yosemite, Kentucky Yosemite Valley, a glacial valley Yosemite Valley, California, a census area Yosemite Village, California Yosemite Lakes, California Transportation:  , the name of more than one United States Navy ship  "Yosemite" (sidewheeler), a steamboat that operated in California, Washington, and British Columbia Yosemite Mountain Sugar Pine Railroad Other uses (general): Yosemite bowline, a knot Yosemite Decimal System, a system for rating walks, hikes, and climbs Yosemite Entertainment, a division of Sierra Entertainment "The Yosemite", a 1912 book by John Muir about the national park  Yosemite Server Backup, computer software  
The Yosemite Lodge at the Falls (formerly "Yosemite Lodge", often known colloquially in Yosemite as simply "The Lodge") is a lodging accommodation, in western Yosemite Village, Yosemite Valley, Yosemite National Park, Mariposa County, California, located at 9006 Yosemite Lodge Drive.
The Lodge is one of only two lodging options in the valley that encompasses only hotel rooms.
The other is the Ahwahnee Hotel, and the two establishments compete for the large patronage that visitors to the park offer.
While the Ahwahnee is the more high-scale of the two hotels, Yosemite Lodge is much less expensive and has a cozy, ski-lodge type atmosphere.
Yosemite Lodge was renamed "Yosemite Lodge at the Falls" in the mid-2000s due to its location very close to Yosemite Falls.
Delaware North Parks and Resorts' 1992 winning bid for primary concessions led to the company's eventual acquisition of the management of Yosemite Lodge.
The Lodge has a total of 249 rooms.
It is composed of 226 "lodge rooms", 19 "standard rooms", and 4 "family rooms.
"Instead of having every room in a single building, the rooms are spread out over a total of 15 separate buildings, each with anywhere from nine to thirty-six rooms.
The Cedar Building is the only one of these buildings to contain the standard and family rooms.
Each building has different decor and a different layout; some have exterior corridors, some have interior ones.
The buildings are named after species of flowers or trees.189 cabins and 108 hotel rooms were destroyed or badly damaged by the January 1997 flooding of the Merced River, which runs near the Lodge, meaning the Lodge had 546 rooms/cabins before the flooding and that 54% of lodging was ravaged. 
The main ecosystems within the mountain range are rainforest giving way to dense bamboo forests and then moorland.
The steep western edges of the hillside are sparsely inhabited by wildlife compared to the forested gentle slopes to the east, which are home to a wide variety of wildlife.
There are multitudes of elephant, buffalo, giant forest hog as well as the endangered Black Rhino.
A variety of cats including leopards and the rare African Golden Cat.
Other threatened species including the Jackson mongoose, the black and white Colobus monkey and Sykes monkey are plentiful, as are waterbuck, reedbuck, duikers, serval cats and bushbuck.
The Aberdares contain a rich diversity of vegetation.
There are 778 vegetation and plant species, subspecies and varieties found in the Aberdare National Park, due to the park's altitude and rainfall.
Hardwood trees include camphor, Cedar, Podo and Hagenia.
Much of the range has been protected within the Aberdare National Park since its creation in 1950.
The range attracts large numbers of hikers and climbers operating out of the main centers of Naivasha and Gilgil.
The lower slopes are farmed, higher areas are known for their wildlife.
The Rhino Charge is an annual event run by conservationists in Kenya to pay for fencing of the Aberdare National Park as a means of protecting East Africa's largest indigenous forest from destruction.