How did railroads create national markets for goods?

A. They increased competition for goods.

B. They kept production close to national hubs.

C. They introduced people to unfamiliar products.

D. They expanded the distribution of goods.