An ecosystem consists of living and nonliving components that interact. It includes individuals, which belong to populations of the same species that live together. Multiple populations make up a biological community. An ecosystem contains the community and its physical environment. Within an ecosystem, populations occupy habitats and fill niches. A niche is an organism's role, such as a hawk that hunts during the day. Healthy ecosystems have interdependent relationships where populations rely on each other for survival.