What is the purpose of tariffs?

to encourage international trade
to encourage purchase of goods made within country
to encourage importation of goods
to encourage equal trade among countries