James Watt invented the steam engine in 1782. It powered factory machinery, reduced costs, and increased production.