Tree planting has been widely promoted as a solution to climate change, because plants absorb the climate-warming gases from Earth’s atmosphere as they grow.