According to the NASA JPL video linked below the top five gases comprising the martian atmosphere include CO₂, O₂ and CO. Do the proportions reflect some chemical equilibrium? Are sunlight or chemical reactions involved in maintaining these proportions?
component fraction
CO2 95.9%
Ar 2.0%
N2 1.9%
O2 0.14%
CO 0.06%
The NASA JPL video Crazy Engineering: Making Oxygen on Mars with MOXIE is linked in How many square meters of solar panel to power a MOXIE-like oxygen source per person?