Which describes the connection between a mechanical loom and a cotton gin?

Which describes the connection between a mechanical loom and a cotton gin?

A. The gin was invented first to increase textile production, and then the loom produced more cotton.
B. The loom and the gin were invented at the same time to improve textile production.
C. The loom and the gin were invented at the same time to improve cotton production.
D. The loom was invented first to increase textile production, and then the gin produced more cotton.