Evolution of the atmosphere