Study of how evolutionary processes shape the ecological relationships between organisms and their environment.