The Newcomen steam engine was used to pump water out of deep coal mines, allowing for deeper pits and increased coal production.