A total of 38 ATP molecules are yielding during aerobic respiration of glucose. In most eukaryotic cells, 2 of these are expended in transporting 2 NADH molecules produced in glycolysis to the mitochondrion. Thus, in such cells, there is net gain of 36 ATP molecules. However, in the prokaryotic cells, all the 38 ATP molecules represent net gain.