<human>:  Who invented the steam engine?
<bot>: That would be James Watt. He invented the steam engine in 1769. The steam engine is a machine that uses steam to do work. The steam engine is used to power many machines, such as trains, ships, and factories.