The bacteria are chemoautotrophs. These microorganisms make use of molecules that are inorganic for energy and using carbon dioxide for carbon source. The process of obtaining energy is called chemosynthesis which uses molecules like hydrogen sulfide, ferrous iron, ammonia and the like.