So as you say, ATP is a molecule involved in energy generation. This molecule, Adenosine Triphospate is a nucleotide comformed by a nitrogenous base (adenosine), and by a pentose sugar, and in fermentation is carried out by glucolisis due to the absent of oxygen, producing only 2 molecules of this ATP.