Phil Zimmermann released PGP in 1991, and the US government spent the next few years investigating him for exporting "munitions," since strong crypto counted as a weapon under export rules at the time. The case was dropped in 1996. Today "PGP" usually means the OpenPGP standard, and the tool most people actually run is GnuPG.

Each person has a key pair. You share the public key, keep the private key, and anyone can encrypt a message that only you can read. The same keys work for signing: you sign with your private key, others check with your public one.

On onion sites the signing part is arguably more useful than the encryption. Operators sign their current addresses so visitors can tell a real mirror from a phishing copy, and the Tor Project signs every Tor Browser release. Learning to verify a signature takes ten minutes and protects you from a whole category of scams.

PGP has real weaknesses. No forward secrecy, subject lines left unencrypted in email, and a user experience that has defeated plenty of smart people. For chat, Signal is a better choice.