Well, there's producers and consumers. There is also one provider that is the main source of energy for all living things which is the sun. The sun provides sunlight for the producers to make their own food through photosynthesis then consumers come and eat the producers(plants) and that gives them energy. And then predators come and eat that animal and that provides their energy.