Nuclear submarines make oxygen by splitting seawater with electricity
Deep underwater with no access to air, submarine crews create breathable oxygen from the very ocean surrounding them.

Nuclear submarines can stay submerged for months at a time, which creates an obvious problem: how does the crew breathe? They can't exactly crack open a window. The answer is wonderfully simple. Submarines carry machines that split water molecules apart using electricity from the nuclear reactor. The process breaks H₂O into hydrogen and oxygen, giving the crew fresh breathable air while they glide through the deep. It's the same chemistry you might have seen in a high school science demo, just scaled up to keep over a hundred people alive beneath the waves.