Apparently, coffee has its roots in Eastern Africa, in a country called Ethiopia. A certain goat herder was in the field only to notice that his goats were acting weird after eating some berries.
After taking the berries himself, he felt re-energized and soon coffee became popular in the whole region.