Steam engines have been applied to a wide range of uses. The first steam engines were simple pumps used to remove water from mineshafts. After some improvements, more efficient and powerful steam engines were being used to power trains, ships, and entire factories.