How does the concept of opportunity cost factor into comparative advantage? 

How does the concept of opportunity cost factor into comparative advantage?