The study of how organisms interact with their environment, including other organisms and the physical world.