In the early atmosphere of the Earth, water vapors, and gases nitrogen, carbon dioxide, methane and ammonia were in high concentration, and the amount of oxygen was quite less in the atmosphere. With constant volcanic eruptions on the ground, the atmosphere changed. The amount of water vapor and various gases started to grow rapidly. Condensation of water vapor started with the cooling of the earth.
Due to the presence of carbon dioxide present in the atmosphere in the rain water, the temperature decreased further. As a result, more condensation started and excessive rainfall occurred on the ground. On the surface of the earth, the rain water started to accumulate in the troughs and the oceans were formed. All the oceans present on the Earth were created approximately 500 million years earlier than the origin of life on the Earth, on which the life developed later.