Image copyright Thinkstock

The Arab world has given birth to many thinkers and many inventions - among them the three-course meal, alcohol and coffee. The best coffee bean is still known as Arabica, but it's come a long way from the Muslim mystics who treasured it centuries ago, to the chains that line our high streets.

Think coffee, and you probably think of an Italian espresso, a French cafe au lait, or an American double grande latte with cinnamon.

Perhaps you learned at school that the USA became a nation of coffee drinkers because of the excise duty King George placed on tea? Today ubiquitous chains like Starbucks, Cafe Nero and Costa grace every international airport, and follow the now much humbler Nescafe as symbols of globalisation.

Coffee is produced in hot climates like Latin America, sub-Saharan Africa, Vietnam and Indonesia, and you could be forgiven if you thought it is a product from the New World like tobacco and chocolate. After all, all three became popular in Europe at more or less the same time, in the 16th and 17th Centuries.

In fact, coffee comes from the highland areas of the countries at the southern end of the Red Sea - Yemen and Ethiopia.

Image copyright Getty Images

Although a beverage made from the wild coffee plant seems to have been first drunk by a legendary shepherd on the Ethiopian plateau, the earliest cultivation of coffee was in Yemen and Yemenis gave it the Arabic name qahwa, from which our words coffee and cafe both derive.

Qahwa originally meant wine, and Sufi mystics in Yemen used coffee as an aid to concentration and even spiritual intoxication when they chanted the name of God.

Three courses, and alcohol Image copyright Getty Images The Arabs invented the concept of the three-course meal, with soup followed by fish or meat, then fruit and nuts - the habit was brought across to Moorish Spain in the 9th Century from Iraq

Alcohol may have been distilled in c800AD by Jabir Ibn Hayyan in Kufa in Iraq, and our word "alcohol" derives from the Arabic "al kuhul"... many Arab countries, like Egypt, Syria, Lebanon, Jordan and Morocco, make wines and beers, even though Islam does not permit the drinking of alcohol Try some indulgent coffee recipes Find out about buying and using coffee beans

By 1414, it was known in Mecca and in the early 1500s was spreading to Egypt from the Yemeni port of Mocha. It was still associated with Sufis, and a cluster of coffee houses grew up in Cairo around the religious university of the Azhar. They also opened in Syria, especially in the cosmopolitan city of Aleppo, and then in Istanbul, the capital of the vast Ottoman Turkish Empire, in 1554.

In Mecca, Cairo and Istanbul attempts were made to ban it by religious authorities. Learned shaykhs discussed whether the effects of coffee were similar to those of alcohol, and some remarked that passing round the coffee pot had something in common with the circulation of a pitcher of wine, a drink forbidden in Islam.

Coffee houses were a new institution in which men met together to talk, listen to poets and play games like chess and backgammon. They became a focus for intellectual life and could be seen as an implicit rival to the mosque as a meeting place.

Some scholars opined that the coffee house was "even worse than the wine room", and the authorities noted how these places could easily become dens of sedition. However, all attempts at banning coffee failed, even though the death penalty was used during the reign of Murad IV (1623-40). The religious scholars eventually came to a sensible consensus that coffee was, in principle, permissible.

Coffee spread to Europe by two routes - from the Ottoman Empire, and by sea from the original coffee port of Mocha.

Image copyright Getty Images

Both the English and Dutch East India Companies were major purchasers at Mocha in the early 17th Century, and their cargoes were brought home via the Cape of Good Hope or exported to India and beyond. They seem, however, to have only taken a fraction of Yemeni coffee production - as the rest went north to the rest of the Middle East.

Image copyright Getty Images The coffee which is native to the Gulf is bitter and sometimes flavoured with cardamom or other spices

Coffee also arrived in Europe through trade across the Mediterranean and was carried by the Turkish armies as they marched up the Danube. As in the Middle East, the coffee house became a place for men to talk, read, share their opinions on the issues of the day and play games.

Another similarity was that they could harbour gatherings for subversive elements. Charles II denounced them in 1675 as "places where the disaffected met, and spread scandalous reports concerning the conduct of His Majesty and his Ministers".

A century later Procope, the famous Parisian coffee house, had such habitues as Marat, Danton and Robespierre who conspired together there during the Revolution.

At first, coffee had been viewed with suspicion in Europe as a Muslim drink, but around 1600 Pope Clement VIII is reported to have so enjoyed a cup that he said it would be wrong to permit Muslims to monopolise it, and that it should therefore be baptised.

Austrian coffee drinking is said to have received a big boost when the Turkish siege of Vienna in 1683 was broken, and the European victors captured huge coffee supplies from the vanquished.

Perhaps that is why, to this day, coffee is served in Vienna with a glass of water - just like the tiny cups of powerful Turkish coffee with its heavy sediment in Istanbul, Damascus or Cairo. Is this just a coincidence, or a long forgotten cultural borrowing?

Image copyright Getty Images Image caption Viennese cafes serve it with a glass of water

The beverage we call "Turkish coffee" is actually a partial misnomer, as Turkey is just one of the countries where it is drunk. In Greece they call it "Greek coffee", although Egyptians, Lebanese, Syrians, Palestinians, Jordanians and others do not seem to care overmuch about the name.

10 borrowed Arabic words The word cheque comes from the Arabic word saqq , and reflects the sophistication of finance in Arab countries in the early middle ages

comes from the Arabic word , and reflects the sophistication of finance in Arab countries in the early middle ages The word algorithm is derived from the name of Abū Abdallah Muḥammad ibn Musa al-Khwarizmi whose name ( al-Khwarizmi ) is, in Latin, Algoritmi

is derived from the name of Abū Abdallah Muḥammad ibn Musa al-Khwarizmi whose name ( ) is, in Latin, Algoritmi Cipher comes from Arabic sifr , meaning "zero, naught, nothing"

comes from Arabic , meaning "zero, naught, nothing" The word for cotton derives from the Arabic qutn

derives from the Arabic Ghoul is an Arabic word for "a desert demon which can appear in different forms and shapes; an ogre or cannibal"

is an Arabic word for "a desert demon which can appear in different forms and shapes; an ogre or cannibal" The English magazine is a word borrowed from the Arabic makhzan , meaning "storehouse"

is a word borrowed from the Arabic , meaning "storehouse" Nadir has its origin in Arabic nazir , indicating "opposite, facing, parallel"

has its origin in Arabic , indicating "opposite, facing, parallel" Tamarind refers to Arabic tamr hindi, literally meaning "Indian date"

refers to Arabic literally meaning "Indian date" The word safari has its root in the Arabic word safar , which means "journey"

has its root in the Arabic word , which means "journey" Tariff comes from Arabic ta'rif, which means "notification" or "definition"

But there are other coffee drinking traditions in the Arab world. The coffee which is native to the Gulf is bitter and sometimes flavoured with cardamom or other spices.

It is often served a decent interval after a guest has arrived - to serve it too soon might be an impolite suggestion of haste - and then once again before departure.

It often comes just before or after a small glass cup of black, sweet tea. The order in which the two beverages are served varies, and seems to have no significance. What is remarkable for a Western visitor is the idea that the two very different drinks should be offered in such quick succession.

Sadly, however, while coffee has gone truly global production has declined in Yemen, the victim of cheap imports and rival crops like the narcotic qat.

In 2011, Yemen exported a mere 2,500 tonnes although there are attempts to revive cultivation of the best coffee in its original home. Today, none of the Arab countries is listed among the world's significant producers.

John McHugo is author of A Concise History of The Arabs

You can follow the Magazine on Twitter and on Facebook.