Thank you.
From:
https://bitcoin.org/en/transactions-guide#introductionAn secp256k1 signature made by using the ECDSA cryptographic formula to combine certain transaction data
(described below) with Bobs private key. This lets the pubkey script verify that Bob owns the private key which
created the public key.