The study of internal and external FUNCTIONS of living systems is known as