Eli Whitney's cotton gin is a machine invented in 1793 that revolutionized the cotton industry by significantly speeding up the process of removing seeds from cotton fibers. This invention made cotton production much more efficient, leading to a surge in cotton cultivation and solidifying its importance in the American economy, especially in relation to westward expansion.