A habitat is the physical environment in which an organism or species lives. It includes the living and nonliving elements that make up the area. A niche is the role or position of an organism or species in the environment. It includes how it interacts with other organisms in the habitat and the resources it uses.
A habitat provides the resources needed for an organism to survive. It could be a pond, a forest, or even a desert. This environment is made up of the physical features such as temperature, moisture, rocks, and soil, as well as the living organisms that inhabit the habitat. A niche is the role of the organism within the habitat. It describes how the organism interacts with other species and uses the resources within the habitat. This includes what it eats, how it reproduces, and how it survives in its environment.