The study of the diverse ways in which living organisms have adapted to various environments and evolutionary pressures.