The study of the relationship between crops and their environment, including nutrient cycling and water management.