With end-to-end encryption (E2EE), a message is encrypted on the sender's device and only decrypted on the recipient's. The server in the middle passes along ciphertext it has no key for. Signal, WhatsApp's message content, Briar and properly used PGP all work like this.

Compare that with transport encryption, such as HTTPS to Gmail. Your connection to Google is encrypted, but Google decrypts the message on its servers and can read, scan or hand it over. Lots of products advertise "encryption" when they mean only this.

E2EE has limits people tend to forget. It doesn't hide metadata: the provider may still know who messaged whom, when, and from what IP. It doesn't protect messages once they're on a device, so spyware, or a seized phone with the screen open, reads everything. And you have to confirm you have the right key for the other person, which is what Signal's safety numbers are for. Skipping that check leaves room for a man-in-the-middle.

Tor's own encryption is not end-to-end to a clearnet site; the exit relay sees what leaves the network. Onion services are a different story, since the connection is encrypted all the way to the service.