Division of labor increases the output of society by

A) eliminating scarcity.
B) reducing the choices people have to make to a more manageable number.
C) ensuring that people are happier in performing their work.
D) allowing resources to specialize in the tasks for which they have a comparative advantage.