If carbon dioxide and water were abundantly available to a heterotrophic prokaryotic cell, then it would only take sunlight to proceed with photosynthesis to produce carbohydrates such as glucose and other sugars. prokaryotes were recognized as the first organisms that evolved in Earth.