International trade allows countries to specialize and gain from exporting goods they produce cheaply while importing goods from other countries that produce them cheaply. There are direct benefits like increased income and indirect benefits like technology transfer. However, international trade can also negatively impact poorer countries if it prices out their domestic industries or leads to deterioration in their terms of trade. Trade agreements and economic integration aim to liberalize trade but have both costs and benefits that are debated. Governments use policies like tariffs and quotas to protect domestic industries from foreign competition and further other goals. Regional economic integration involves countries reducing barriers to create free trade areas, customs unions, common markets or unions with deeper coordination of economic policies.