Which innovation allowed for the mass production of goods?

A. Cotton gin
B. Sewing machine
C. Industrial lubricator
D. Interchangeable parts