One example or a producer-consumer relationship is the relationship between grass and a rabbit. The grass is a producer, as it uses photosynthesis to create its own energy via the sun. The rabbit is a consumer, as it eats the grass to obtain energy to survive. This is an example of a primary consumer, as the rabbit is eating a primary source of food (plants). The relationship between these organisms is that the grass provides energy for the rabbit, while the rabbit is dependent on the grass for its survival.
Hope this helps!