I need help ASAP!! Will give brainliest!

How do chemsynthetic bacteria get energy? (APEX)

A) They carry out photosynthesis

B)They carry out digestion

C) They convert carbon dioxide and sunlight into sugar

D) They convert carbon dioxide or methane into food without light,