Wiping out all of Africa’s elephants could accelerate Earth’s climate crisis by allowing 7 per cent more damaging greenhouse gases into the atmosphere, scientists say.

But conserving forest elephants may reverse the trend, providing a service worth $43bn (£34.3bn) in storing carbon, the academics found.

The research, published in Nature Geoscience, shows that the presence of the animals leads to higher numbers of large trees that better capture greenhouse gas, but without elephants, smaller trees less able to absorb carbon thrive.

The extinction of forest elephants could lead to a 7 per cent drop in “aboveground biomass” – the weight of trees including branches and foliage – in western and central African rainforests.

This would mean an extra 3 billion tonnes of harmful carbon entering the atmosphere, Fabio Berzaghi, the lead researcher, told The Independent.

Wildlife of the world Show all 19 1 /19 Wildlife of the world Wildlife of the world A macaque monkey family Jo-Anne McArthur / We Animals Wildlife of the world A vulturine guinea fowl in Maasai Mara Jo-Anne McArthur / We Animals Wildlife of the world A lilac-breasted roller in Kenya Jo-Anne McArthur / We Animals Wildlife of the world An African elephant family in Kenya Jo-Anne McArthur / We Animals Wildlife of the world A male lion sits in the shade in Maasai Mara, Kenya Jo-Anne McArthur / We Animals Wildlife of the world Ostrich in Maasai Mara, Kenya Jo-Anne McArthur / We Animals Wildlife of the world Three macaque monkeys at a temple In Nepal Jo-Anne McArthur / We Animals Wildlife of the world A baby monkey clings to its parent in Nepal Jo-Anne McArthur / We Animals Wildlife of the world Giraffes at the Soysambu Conservancy northwest of Nairobi Jo-Anne McArthur / We Animals Wildlife of the world Zebras in a conservancy in Nairobi, Kenya Jo-Anne McArthur / We Animals Wildlife of the world Orphaned Southern White Rhino in South Africa Jo-Anne McArthur / We Animals Wildlife of the world Two rescued grey-headed flying foxes in Sydney, Australia Jo-Anne McArthur / We Animals Wildlife of the world A bull frog in a marsh in the US Jo-Anne McArthur / We Animals Wildlife of the world Two orphaned Southern White Rhinoceros at Rhino Revolution in Hoedspruit, South Africa Jo-Anne McArthur / We Animals Wildlife of the world An African elephant and her calf in Maasai Mara, Kenya Jo-Anne McArthur / We Animals Wildlife of the world A macaque monkey with blossom in Nepal Jo-Anne McArthur / We Animals Wildlife of the world Thomson's gazelle graze antlers in Kenya Jo-Anne McArthur / We Animals Wildlife of the world A juvenile male lion on tree branch in Kenya Jo-Anne McArthur / We Animals Wildlife of the world A wild bird at Ngamba Island Sanctuary, Uganda Jo-Anne McArthur / We Animals

Large herbivores are known to be vital in spreading seeds, but until now ways in which elephants affect rainforests have been something of a mystery.

But the study found that while grazing in the Congo and elsewhere, the animals clear away smaller vegetation, which over time leads to fewer but larger hard-wood trees, which live longer and lock away more carbon than soft-wood ones.

Earlier this month, Swiss scientists reported that planting billions of acres of trees in an area the size of the US could be the “most effective solution to climate change to date”.

Using model simulations, the scientists from the Laboratory of Climate and Environment Sciences in France said one animal for every square km increases forest biomass by 60 tonnes per hectare (0.01 square kilometres).

Mr Berzaghi and his colleagues found that when elephants thin out forests, eating those that are less than 30cm wide, there is less competition among the vegetation for light, water and space, which allows fewer and larger trees – and with a higher wood density – to emerge, increasing amounts of carbon stored.

The total leaf area – or canopy cover – was about 70 per cent more in areas with elephants than those without, so only about half the natural light reached the ground, inhibiting growth of small trees.

The research suggests elephants have an important role in shaping the structure of African forests.

“We speculate that the presence of forest elephants may have shaped the structure of Africa’s rainforests, which probably plays an important role in differentiating them from Amazonian rainforests,” the paper said.

The projected drop of about 7 per cent of carbon stocks “is more than the estimated loss in tropical America and Africa due to the disappearance of large-seeded trees and their dispersers".

Support free-thinking journalism and attend Independent events

The report added: “Elephant conservation may reverse this trend, which would represent a carbon storage service of US$43bn at a conservative carbon stock price.