NASA scientists have managed to create oxygen on Mars from carbon dioxide found in the atmosphere on this planet.
The five grams of oxygen were created through a small piece of equipment named Moxie, which was sent on the Perseverance rover. Five grams are enough for about ten minutes of breathing.
Moxie is still being tested, and scientists believe it can be capable of creating ten grams of oxygen every hour.
The plan is that future astronauts can take with them more advanced equipment similar to Moxie to be able to create their own oxygen instead of having to take it with them from the earth.
The atmosphere on Mars is nearly all carbon dioxide, reaching 96%, whilst there is only 0.13% oxygen. Oxygen on earth forms 21% of the atmosphere.