Coffee is a brewed drink prepared from roasted coffee beans, which are the seeds of "berries" from the Coffea plant. Coffee plants are cultivated in over 70 countries, primarily in the equatorial regions of the Americas, Southeast Asia, India and Africa. The two most commonly grown are the highly regarded arabica, and the less sophisticated but stronger and more hardy robusta. The latter is resistant to the coffee leaf rust, Hemileia vastatrix, but has a more bitter taste. Once ripe, coffee beans are picked, processed, and dried. Green (unroasted) coffee beans are one of the most traded agricultural commodities in the world. Once traded, the beans are roasted to varying degrees, depending on the desired flavor, before being ground and brewed to create coffee.
Coffee cultivation first took place in Southern Arabia. The earliest credible evidence of coffee-drinking appears in the middle of the 15th century in the Sufi shrines of Yemen. In the Horn of Africa and Yemen, coffee was used in local religious ceremonies. As these ceremonies conflicted with the beliefs of the Christian church, the Ethiopian Church banned the secular consumption of coffee until the reign of Emperor Menelik II. The beverage was also banned in Ottoman Turkey during the 17th century for political reasons, and was associated with rebellious political activities in Europe.
Coffee is a major export commodity: it was the top agricultural export for twelve countries in 2004, the world's seventh-largest legal agricultural export by value in 2005, and "the second most valuable commodity exported by developing countries," from 1970 to circa 2000. This last fact is frequently misstated; see commodity market, below. Further, green (unroasted) coffee is one of the most traded agricultural commodities in the world. Some controversy is associated with coffee cultivation and its impact on the environment. Consequently, organic coffee is an expanding market.
The earliest credible evidence of either coffee drinking or knowledge of the coffee tree appears in the middle of the 15th century, in the Sufi Muslim monasteries around Mocha in Yemen. It was here in Arabia that coffee seeds were first roasted and brewed, in a similar way to how it is now prepared. By the 16th century, it had reached the rest of the Middle East, Persia, Turkey, and northern Africa. Coffee seeds were first exported from Ethiopia to Yemen. Yemeni traders took coffee back to their homeland and began to cultivate the seed. The first coffee smuggled out of the Middle East was by Sufi Baba Budan from Yemen to India in 1670. Before then, all exported coffee was boiled or otherwise sterilised. Portraits of Baba Budan depict him as having smuggled seven coffee seeds by strapping them to his chest. The first plants grown from these smuggled seeds were planted in Mysore.