•Gross primary productivity is the total rate of photosynthesis including the organic matter used up in respiration.
•Net productivity is the rate of storage of organic matter not used by heterotrophs or consumers.
•Secondary productivity is the rate of energy storage at consumer's level.
•Net primary productivity is the rate of storage of organic matter in plant tissues in excess of respiratory utilisation by plants. NPP is equal to the rate of organic matter produced by photosynthesis minus the rate of respiration losses.
Hence, the energy present in the biomass of the plants is known as Net primary productivity.
NPP=GPP− Respiratory loss.
So, the correct answer is D.