A community is an assemblage of interacting species sharing the same environment. Species composition refers to the contribution of each plant species to the vegetation, while species diversity measures both species richness and evenness. Habitat is where a species lives and reproduces, while ecological niche describes a species' role and how it acquires resources. Community interactions include competition between populations for limited resources, predator-prey relationships that can cause populations to fluctuate, and prey defenses against predation such as camouflage, warning signals, and mimicry. Symbiotic relationships between species include parasitism, commensalism, and mutualism.