Free trade, tariffs and quotas

Opening to trade moves the domestic price to the world price and imports or exports fill the gap between domestic demand and supply; a tariff raises the domestic price, cuts imports, earns revenue and creates deadweight loss, and an import quota does much the same without the revenue.

From AP Microeconomics.