This is a sourse of energy it is the energy sourse for all producers
Here is an example of a producer, grass, this type of plant depends on the sun.
Then there is deer, a example of a herbivore. The deer depends on grass to get its energy.
As you can see this is a Lion which is a carnivore it depends on the deer to give it energy.