How do chemoautotrophs make energy?

They convert carbon dioxide, water, and sunlight into carbohydrates.
They convert carbon dioxide, water, and organic molecules to carbohydrates.
They convert carbon dioxide, sunlight, and organic molecules to carbohydrates.
They convert carbon dioxide, water, and inorganic compounds into carbohydrates