What is the relationship between a country’s interest rate and its foreign exchange rate? Why?

What is the relationship between a country’s interest rate and its foreign exchange rate? Why?