Theory of absorption lines in the atmosphere of the Earth