Economic foundations

Two regions specialize according to comparative advantage and then trade at a mutually acceptable relative price. Why can both regions gain?