There a many aerobic (i.e., Knallgas bacteria (chemolithoautotrophs) using H2/02/CO2 as energy / reductant and as carbon source, respectively, photolithoautotrophhs) and anaerobic bacteria and archaea (e.g., acetogenic bacteria, carbonmoxide utilizer, methanogenogens etc.) which fix CO2, i.e. using it a carbon source. Look up under autotrophic bacteria, i.e., bacteria using CO2 / CO as sole carbon source. Furthermore, there are several biochemical pathways used by various taxa. (If the terms are unfamiliar to you, I suggest to google them / Wikepedia).
There are many reviews / bookchapters on lithoautotrophic (or in short autotrophic) microorganisms.
There a many aerobic (i.e., Knallgas bacteria (chemolithoautotrophs) using H2/02/CO2 as energy / reductant and as carbon source, respectively, photolithoautotrophhs) and anaerobic bacteria and archaea (e.g., acetogenic bacteria, carbonmoxide utilizer, methanogenogens etc.) which fix CO2, i.e. using it a carbon source. Look up under autotrophic bacteria, i.e., bacteria using CO2 / CO as sole carbon source. Furthermore, there are several biochemical pathways used by various taxa. (If the terms are unfamiliar to you, I suggest to google them / Wikepedia).
There are many reviews / bookchapters on lithoautotrophic (or in short autotrophic) microorganisms.