To survive natural selection, one must be fit and be able to adapt to the environment and situations, thus why it's called survival of the fittest.
Plants use their stomata to take in Carbon dioxide and take out oxygen during photosynthesis. It's how they "breathe" if that makes it more understandable.