How do chemosynthetic bacteria get energy?

A. They convert carbon dioxide or methane into food without light.
B. They carry out photosynthesis.
C. They carry out digestion.
D. They convert carbon dioxide and sunlight into sugar.