Answer: Option B; It traps light energy and converts it into chemical energy.
Explanation: This substance is chlorophyll. It is a pigment present in leaves of all plants. It absorbs light energy and provides it to carry out the process of photosynthesis. Light energy is converted into chemical energy, in form of NADPH and ATP, which can be used by plants for photosynthesis.
This pigment is present only in plants, so option A is incorrect.
This pigment only absorbs and transfers energy to other molecules, and is not associated with carbon dioxide directly, so option C and D are also incorrect.