Coffee has played a crucial role in many societies. The energizing effect of the coffee bean plant is thought to have been discovered in the northeast region of Ethiopia, and the cultivation of coffee first expanded in the Arab world. The earliest credible evidence of coffee drinking appears in the middle of the 15th century, in the Sufi monasteries of Yemen in southern Arabia. From the Muslim world, coffee spread to Italy, then to the rest of Europe, to Indonesia, and to the Americas. In East Africa and Yemen, it was used in religious ceremonies. As a result, the Ethiopian Church banned its secular consumption, a ban in effect until the reign of Emperor Menelik II of Ethiopia. It was banned in Ottoman Turkey during the 17th century for political reasons, and was associated with rebellious political activities in Europe.
Coffee berries, which contain the coffee seed, or "bean", are produced by several species of small evergreen bush of the genus Coffea. The two most commonly grown are the highly regarded Coffea arabica, and the 'robusta' form of the hardier Coffea canephora. Once ripe, coffee berries are picked, processed, and dried. The seeds are then roasted to varying degrees, depending on the desired flavor. They are then ground and brewed to create coffee. Coffee can be prepared and presented in a variety of ways.An important export commodity, coffee was the top agricultural export for twelve countries in 2004, and it was the world's seventh-largest legal agricultural export by value in 2005.