Having green, vegetable-like foods when SHTF will provide a well-balanced diet. It will greatly help you to prevent food fatigue by diversifying your diet.
When it comes to more complex situations like providing oxygen in an enclosed room, you may find that you will still need to bring air in from the outside.