Chemistry of the atmosphere