Flexi Says: In terms of carbon metabolism, prokaryotes are classified as either heterotrophic or autotrophic:
Heterotrophic organisms use organic compounds, usually from other organisms, as carbon sources.
Autotrophic organisms use carbon dioxide (CO2) as their only source or their main source of carbon. Many autotrophic bacteria are photosynthetic and get their carbon from the carbon dioxide in the atmosphere.