Given the task definition and input, reply with output. Given a scientific question, generate a correct answer to it.

What is the study of how living organisms interact with each other and with their environment?
ecology