how do organisms interact with each other and with thier environment