in transaction, what is 'hash' data?
The hash refers to the signature hash, to which all tx data except for the input script is committed to (unless you are signing with a sighash flag other than ALL).

The signature hash is what is signed with ECDSA to produce the signature.