This is concerned with the relationship between the environment and the distribution of species within an ecosystem.