The study of how ecological interactions and environmental factors impact the evolution of species and their relationships.