Sun is the major source of photochemical energy for the producer in an ecosystem. It accelerates the rate of photosynthesis in the producer and thus increases the ecological productivity. The producer transfers the ten percent of the energy from one trophic level to another trophic level according to Lindman's law.