Which best describes why governments enact tariffs?

Which best describes why governments enact tariffs?
A.to reduce the price of domestic products
B.to discourage consumers from purchasing foreign goods
C.to limit the sale of foreign goods
D.to ensure that domestic producers make a profit