Ecology is the study of relationships between organisms and their environment. It is organized into levels from smallest (organism) to largest (biosphere). Energy flows through ecosystems via food chains and webs from producers to various consumer trophic levels. Matter recycles through biogeochemical cycles like carbon, nitrogen, phosphorus and water. Populations grow according to exponential or logistic models depending on resources and limiting factors. Communities involve interactions like competition, predation, and symbiosis that structure species niches.