In ecology, a niche is the match of a species to a specific environmental condition. It describes how an organism or population responds to the distribution of resources and competitors and how it in turn alters those same factors. "The type and number of variables comprising the dimensions of an environmental niche vary from one species to another [and] the relative importance of particular environmental variables for a species may vary according to the geographic and biotic contexts".
The flightless dung beetle occupies an ecological niche: exploiting animal droppings as a food source.
The Grinnellian niche can be described as the "needs" niche, or an area that meets the environmental requirements for an organism's survival. Most succulents are native in dry, arid regions like deserts and require large quantities of sun exposure.
Beaver dam in Hesse, Germany. By exploiting the resource of available wood, beavers are affecting biotic conditions for other species that live within their habitat.
The shape of the bill of this purple-throated carib is complementary to the shape of the flower and coevolved with it, enabling it to exploit the nectar as a resource.
In ecology, habitat refers to the array of resources, physical and biotic factors that are present in an area, such as to support the survival and reproduction of a particular species. A species habitat can be seen as the physical manifestation of its ecological niche. Thus "habitat" is a species-specific term, fundamentally different from concepts such as environment or vegetation assemblages, for which the term "habitat-type" is more appropriate.
This coral reef in the Phoenix Islands Protected Area provides habitat for numerous marine species.
Few creatures make the ice shelves of Antarctica their habitat, but water beneath the ice can provide habitat for multiple species. Animals such as penguins have adapted to live in very cold conditions.
Ibex in an alpine habitat
Rich rainforest habitat in Dominica