Horsepower is a unit of measurement for engines, not actual horses. It's named after the work done by a horse. An average horse can exert 1 horsepower for short periods, but it's not a direct comparison to engine horsepower, which is a measure of mechanical power.

https://www.easyworknet.com/lifestyle/how-much-horsepower-does-a-horse-have/