A community is a group of interacting organisms that may be of the same species or not as long as they share a common habitat.