The rate of biomass production is called productivity. It can be divided into gross primary productivity (GPP) and net primary productivity (NPP). Gross primary productivity of an ecosystem is the rate of production of organic matter during photosynthesis. A considerable amount of GPP is utilised by plants in respiration. Net primary productivity is the available biomass for the consumption to heterotrophs (herbivores and decomposers). Secondary productivity is defined as the rate of formation of new organic matter by consumers.