A team of researchers from France analysed 28 hours of microphone recordings made by the Nasa rover over two Martian years (or 1,374 Earth days).

They found that electrical discharges were normally associated with dust devils and dust storm fronts.

Dust devils are small whirlwinds that form from hot air rising from the ground, and their internal movements can give rise to electrical discharges.

Lead author of the research Dr Baptiste Chide told news agency Reuters: “These discharges represent a major discovery, with direct implications for Martian atmospheric chemistry, climate, habitability and the future of robotic and human exploration.”

He and other scientists at the Institute for Research in Astrophysics and Planetology in France believe that Mars now joins Earth, Saturn and Jupiter as planets known to have atmospheric electrical activity.

Particle physicist Dr Daniel Pritchard wrote in scientific journal Nature that, although the recordings would “provide persuasive evidence of dust-induced discharges”, because the discharges were only heard and not seen, “some doubt will inevitably remain as to whether this really was Martian lightning”.

He added: “Given the history of this field, the debate is likely to continue for some time.”

In September this year, scientists found rocks with unusual markings on Mars.

The intriguing markings, nicknamed leopard spots and poppy seeds, contain minerals produced by chemical reactions that could be associated with ancient microbes.

It is possible the minerals were produced by natural geological processes, but Nasa said the features could be the clearest signs of life ever found.

Today, Mars is a cold and arid desert. But billions of years ago there is evidence that it had a thick atmosphere and water, making it a promising place to look for past life.

Perseverance was dispatched to the Jezero Crater because it showed qualities that may have meant it was once conducive to life, including signs it was once a delta when Mars could sustain liquid surface water.