A machine called MOXIE, stowed away on NASA’s Perseverance rover, can reliably convert carbon dioxide into a small tree’s worth of oxygen. During various tests, MOXIE steadily breathed in Martian atmosphere and breathed out at least six grams of oxygen an hour.