Horsepower is a measure of power. Its just like a watt in and fact 1hp = 745.7 watts in mechanical terms. This is basically the amount of power that a horse can continuously put out.
But torque and work don't have the same units. torque is N*m and work is the joule which equals 1 N*m...........
Alex