In the humid forests of the Caribbean, a Clusia rosea tree breathes in the cool night air, pulling in carbon dioxide while its leaves stay tightly sealed against the day’s heat. This quiet act—happening in darkness—helps it survive droughts that would cripple most plants. For over 200 years, scientists have been puzzled by this trick. Now, researchers led by Wolfram Weckwerth at the University of Vienna have uncovered how three Clusia tree species evolved different versions of this water-saving skill, known as CAM photosynthesis.

Most plants open their leaf pores during the day to take in carbon dioxide, but lose precious water in the process. CAM plants like Clusia do the opposite: they keep their pores shut in daylight and absorb CO2 at night. The gas is stored as malic acid and later used to make energy when sunlight returns. This method uses up to 80% less water than conventional photosynthesis. But how did such a complex system evolve—especially in trees, which rarely use CAM?

To find out, the team studied the genomes of three Clusia species: Clusia rosea, Clusia minor, and Clusia major. They discovered that all three carry the genetic scars of an ancient genome duplication—a rare event where a plant’s entire DNA set is copied. Over millions of years, these extra genes weren’t just discarded. Instead, they were reshaped, repurposed, and rewired. Some genes that once helped with regular photosynthesis were reassigned to manage nighttime CO2 storage.

The result? Three trees with three survival strategies. Clusia rosea uses strong, full-time CAM, storing large amounts of malic acid each night. Clusia minor only switches to CAM under stress, like during a dry spell. Clusia major splits the difference, using a mix of daytime and nighttime carbon capture. These differences match up with changes in gene activity, showing how genome reshuffling led to real-world adaptations.

This genetic flexibility helps explain why Clusia is the only known genus of trees with species that use CAM in so many ways. It’s not just one evolutionary fix—it’s a toolkit shaped by time. And that toolkit might help us grow crops that can endure longer droughts. With climate change stressing farms worldwide, understanding how Clusia trees save water could one day help engineers design more resilient food plants. As the planet warms, nature’s quiet innovations—like a tree breathing at night—might light the way forward.