Distinguish between Production and decomposition
Production is the phenomenon in which the energy is produced by the process of synthesis of organic compound from inorganic substances (such as C02, H20 & minerals) utilizing generally the sunlight. It traps energy.
Decomposition refers to the breakdown of complex organic matter into simpler ones. It releases energy.