What is the difference between the energy pathways of producers, primary consumers, secondary consumers, tertiary consumers and decomposers within food webs and energy pyramids?

I'm really unsure.