It depends on the country. What a country buys is called an import and what it sells is called an export. For example, common exports of the United States include cars, electronics, and industrial...
You can usually purchase the currency of major countries (and Euros) from larger banks. In some countries they also have 'money changers', individuals (small businesses) who will exchange currency.