I am not sure what you are asking, but if you mean what exactly "IS" Horsepower, I can sum it up in the following way:
Horsepower is a function of Torque at RPM. Meaning, it is the amount of total WORK and engine has done- whether it is by the amount of "Twisting force" it can exert (Torque), or the speed at which the engine turns.
For example: You can have an 2 engines that make the same HP, but one makes considerably less TQ. This is because the engine that makes more TQ doesnt have the ability to make the High TQ as LONG as the other engine- which in turn makes less TQ than the stronger engine, but can make it for a longer period of time. (Higher RPM limit) The two engines can do the same amount of "Work", but one of the engines needs to be rev'd out very far, the other does not for the same amount of work to be done. HP is just what the engine CAN put down, in total.
HP can be related to electricity very easily. Amperage is the "Torque", Voltage is the "RPM", and Wattage is the total work being done by the combination of both- or Horsepower.
Horsepower is figured by how fast the car on the Dynomometer can spin up the drums in the Dyno, from one RPM to another. Both the Accelleration of the drums, and the speed at which the start and end at come into effect. These drums have a set mass known by the computer.