An agroecosystem is the basic unit of study for an agroecologist, and is somewhat arbitrarily defined as a spatially and functionally coherent unit of agricultural activity, and includes the living and nonliving components involved in that unit as well as their interactions.
An agroecosystem can be viewed as a subset of a conventional ecosystem. As the name implies, at the core of an agroecosystem lies the human activity of agriculture. However, an agroecosystem is not restricted to the immediate site of agricultural activity (e.g. the farm), but rather includes the region that is impacted by this activity, usually by changes to the complexity of species assemblages and energy flows, as well as to the net nutrient balance. Traditionally an agroecosystem, particularly one managed intensively, is characterized as having a simpler species composition and simpler energy and nutrient flows than "natural" ecosystem. Likewise, agroecosystems are often associated with elevated nutrient input, much of which exits the farm leading to eutrophication of connected ecosystems not directly engaged in agriculture.
One of the major efforts of disciplines such as agroecology is to promote management styles that blur the distinction between agroecosystems and "natural" ecosystems, both by decreasing the impact of agriculture (increasing the biological and trophic complexity of the agricultural system as well as decreasing the nutrient inputs/outflow) and by increasing awareness that "downstream" effects extend agroecosystems beyond the boundaries of the farm (e.g. the Corn Belt agroecosystem includes the hypoxic zone in the Gulf of Mexico). In the first case, polyculture or buffer strips for wildlife habitat can restore some complexity to a cropping system, while organic farming can reduce nutrient inputs. Efforts of the second type are most common at the watershed scale. An example is the National Association of Conservation Districts' Lake Mendota Watershed Project, which seeks to reduce runoff from the agricultural lands feeding into the lake with the aim of reducing algal blooms.