In a transaction a sender must provide the digital signature to say that they own that transaction.

What information is the sender signing in the scriptSig?

I was thinking that It was:

  • The particular input they would like to spend
  • The address they would like to send it to?