The study of the interrelationship between an organism's physical functioning and its environment.