The role that an organism plays within a community (it relates to the resources it requires in the ecosystem, such as light and nutrients, and its interactions with other organisms in the community. It involves competition and predation and the conditions it can tolerate, such as temperature).