The interconnected food chains in an ecosystem.