What was the primary function of early steam engines, like those by Newcomen?

Answer

Pumping water out of deep mine shafts.

Early engines were developed primarily as atmospheric engines specifically designed to pump water out of mine shafts that had become too deep for older pumping methods.

What was the primary function of early steam engines, like those by Newcomen?
inventionengineSocietybenefitSteam