Answer:
Over a vast amount of time, millions of years, the earth gradually cooled. When the temperature dropped enough, water vapor condensed and went from a gas to liquid form. This created clouds. From these clouds, the oceans formed and the oceans absorbed a lot of the carbon dioxide in the atmosphere.
Step-by-step explanation:
I hope this helps!