A chemoautotroph is an organism that uses inorganic energy sources for food. Then it puts together its own organic compounds using ATP. Chemoautotrophs are mostly bacteria or archaea that live in hostile environments such as deep sea vents. They are the primary producers in such ecosystems.