An ecosystem is more complicated than a food chain because it doesn't only involve which organisms are predators, prey, or producers. It involves all of the possible interactions between the organisms with the biotic and abiotic factors within it.
Hope that helped you.