For 200 million years, the proportions of different gases in the atmosphere have been much the same as they are today:
around 80% nitrogen, and around 1/5 oxygen, small proportions of various other gases i.e. carbon dioxide, water vapour
The Earth's early atmosphere 1
Evidence is limited because of the time scale of 4.6 billion years and theories have changed/ developed over time
One theory suggests that during the first billion years of the Earth's existence
There was intensevolcanicactivity that released gases that formed the early atmosphere
At the start of this period, the atmosphere may have been like the atmospheres of Mars and Venus today: mainly carbon dioxide with little or no oxygen
Earth's early Atmosphere 2
Volcanoes also produced nitrogen which gradually built up in the atmosphere and there may have been small proportions of methane and ammonia
Water vapour condensed to form the oceans
Carbon dioxide dissolved in the water and carbonates were precipitated producing sediments, reducing the amount of carbon dioxide in the atmosphere
How oxygen increased
Algae and plants produced the oxygen that is now in the atmosphere by photosynthesis
Algae first produced oxygen about 2.7 billion years ago and soon after this oxygen appeared in the atmosphere
Over the next billion years, plants evolved and the % of oxygen gradually increased to a level that enabled animals to evolve
How carbon dioxide decreased
Algae and plants decreased the % carbon dioxide in the atmosphere through photosynthesis
Carbon dioxide was also decreased by the formation of sedimentary rocks that contain carbon and by the production of fossil fuels from the remains of dead plants and animals when they decayed