Photosynthesis is a process by which plants harness the energy of the sun and convert it into biochemical matter. Such a process added more oxygen to the atmosphere and oceans where the plants lived. The oxygen content of the oceans gradually increased until it could support marine life capable of respiration. That happened about 570 million years ago. It took another 170 million years before there was enough oxygen in the atmosphere for air breathing land animals to evolve.