Electronic Excitation in Air and Carbon Dioxide Gas