what consists of the interactions between groups of different individuals and the nonliving factors in a particular area