how do living systems such as bats carry out life functions and respond to changes in the environment