A chemical trick for making oxygen can sustain whole underground ecosystems