Like all ecosystems, agroecosystems are dependent on the continuous flow and cycling of energy and nutrients. As energy is transferred from one organism to another, much of it is lost to heat. Compounding this inherent inefficiency, additional energy inputs (e.g., fuel, nutrients, electricity, etc.) are required in order to grow, harvest, process and market the end product. So an important task for agroecosystem managers is to try and manage the energy and nutrient cycles to be as efficient as possible. In this context, sustainability goals might include reducing the quantity of purchased fertilizer applied to the field; or if fertilizer has to be applied, making sure that most of those nutrients are taken up by the crop and not lost to the soil. Likewise, farmers and ranchers are increasingly looking for ways to improve the energy balance within their systems, both for environmental and profit reasons.