What are the two ways in which carbon dioxide is fixed in the environment?

(i) Conversion of $C{{O}_{2}}$ into glucose by green plants in the presence of sunlight by photosynthesis.
(ii) Usage of carbonates dissolved in the sea water by marine animals to make their shells.