Study of the interactions between living organisms and the chemical and physical processes that shape the environment.