Engineers have had to come up with some interesting ways to generate oxygen for astronauts in the vacuum of space.