The rate of production of organic matter during photosynthesis represents the gross productivity (GPP) while the net primary productivity is the available biomass for the consumption by the heterotrophs.
GPP -- R = NPP
(Gross primary productivity - Respiration = Net primary productivity)