Will a nation tend to export or import goods

Will a nation tend to export or import goods for which it has a comparative advantage? Explain.