In the pyramid of ecosystem (given below) representing food chain in which green plants are primary producer. Decomposers in any food chain are fungi and bacteria and saprophytic organisms. Insects, frogs, snake and peacock are primary, secondary, tertiary, quarternary consumers. Peacock is at the apex of food pyramid which will be least in number and can feed upon insects, frog and snake.