A study reveals the molecular mechanism behind oxygen-tolerant photosynthesis in Rhodovulum sulfidophilum, a marine purple nonsulfur bacterium. This advances understanding of efficient solar energy conversion in bacteria.