Question: what are pgp keys used for?
Answer: PGP is used to create a digital signature for the message by computing a hash from the plaintext and producing a digital signature using the sender's private key. A person can add their signature to another person's public-key to show that it is truly that rightful owner.