It would most likely die because it needs nitrogen , sunlight , and water , basic things that you can't exactly find in space....
This is called Diffusion because the oxygen molecules are semiseperable
A computer to a moteter for literal use
For a diagram you could use a ball of somesort