Most ecological theories deal with simple consumer–resource interactions. Scientists now provide a novel approach to incorporate nontrophic interactions, such as pollination and habitat modification, in ecosystem models, which allows them to study the dynamics of complex interaction webs. Their model adds nontrophic interactions to a food web in the form of modifications of trophic interactions. It also tracks nutrient fluxes in the food web and hence satisfies the principle of mass conservation.