Inventor and manufacturer best known for inventing the cotton gin, and a pioneer of interchangeable parts that laid the foundation for modern mass production.