Horses used to be used for practically everything. The first commercial steam engine pumped water from mines and was measured in "horsepower", the the rate at which a horse could continuously pump water. Then steam engines replaced freight hauling. Then personal transport. Don't see many working horses now.