The two teenagers are walking across the planet to warn their parents of an evil plan by a major company.
They are wearing pressure suits. They are running out of oxygen. The boys spend the night sealed inside a huge alien plant that seals up overnight.
One boy cannot bring himself to turn off their flashlight even though he feels he is wasting the batteries.
The flashlight being on saves them! The inside of the leaves they are sealed inside undergoes photosynthesis in the artificial light. This produces enough oxygen to save their lives.