It is the study of how organisms interact with their environment and how their traits are shaped by ecological selection.