Study of the mode of life of organisms in their natural habitat and their adaptations to their surroundings.