Primary production
Primary production is the synthesis of organic compounds from  carbon dioxide.  It occurs by photosynthesis. Light is its source of energy. It also occurs through chemosynthesis, which uses the oxidation or reduction of inorganic chemical compounds as its source of energy.