Answer: Overwhelming evidence indicates that eukaryotic photosynthesis originated from the endosymbiosis of cyanobacterial-like organisms, which ultimately became chloroplasts (Margulis, 1992). So the evolutionary origin of photosynthesis is to be found in the bacterial domain.
around 3.5-3.8 billion years ago
It was known to have first evolved around 3.5-3.8 billion years ago, but until now, scientists thought that one of the groups of bacteria alive today that still uses this more primitive photosynthesis was the first to evolve the ability.
Explanation: The evolution of photosynthesis that produces oxygen is thought to be the key factor in the eventual emergence of complex life. This was thought to take several billion years to evolve, but if the earliest life could do it, then other planets may have evolved complex life much earlier than previously thought.