Ecology deals with interactions between organisms and their environment. Organisms adapt to environmental factors like temperature, water, soil, and light in order to survive and reproduce. Population ecology examines characteristics of populations like birth and death rates, sex ratios, population size, growth models, life history variations, and interactions between populations like predation, competition, parasitism, commensalism, and mutualism. Adaptations help organisms better cope with environmental conditions in their habitat.