In the theory of comparative advantage, the cost (sacrifice) incurred by choosing to buy a good or a service from another economic agent instead of producing it locally.
More generally, the cost of choosing one option over another that may be equally desirable.