Thousand of years ago tea drinking was widespread in China and tea houses were a social and ceremonial meeting place. Tea was also used as currency and a trading commodity and was the most important export with Europe, Japan and India.
In Europe, afternoon tea was served in France in the 1600's.