Why are Tariffs imposed?

Imported goods become dear when tariffs are imposed. Their demand falls and imports tend to reduce. As a result, there is a control on the flow of foreign exchange.