Differentiate between the producers and consumers.
Producers are those which produce their own food through photosynthesis by using inorganic materials while consumers are those which eat the food produced by the producers directly or indirectly. Example: grass is the producer and the cow is the consumer .
Producers are organisms that make their own food through photosynthesis or other reactions and are a food source for other organisms (for example: plants, extremophile benthos communities).
Consumers are organisms that ingest other organisms, like plants, in order to gain energy (for example: herbivores, carnivores, omnivores, detrivores).
So, if there is a rabbit eating a carrot, the carrot is the producer and the rabbit is the consumer.