The world’s botanic gardens contain a third of all known plants and help protect 40% of endangered ones.