how are ions created in the atmosphere?
They form in the upper atmospheric layers mainly because of the action of ultraviolet and corpuscular radiation from the sun, as well as in lower atmospheric layers (the troposphere and stratosphere) as a result of radioactive radiation and cosmic rays, which cause ionization of neutral molecules or atoms.