Comparative advantage is the ability of an individual or country to produce a particular good or service at a lower opportunity cost than another. It is a key concept in the theory of international trade, as it explains how countries can benefit from specializing in the production of goods and services where they have a comparative advantage, and then engaging in trade.