PDF encryption is part of the file format itself: the document body is encrypted with AES, and two passwords govern it. The user password (open password) is required to view the file. The owner password controls permissions — printing, copying text, editing, commenting — that viewers honor.
Important nuance: permission passwords are advisory in spirit but cryptographically enforced in practice — viewers decrypt the file regardless and simply hide the restricted actions. Removing an owner password you legitimately own (your own file, restricted by accident) requires no password. Removing an open password requires knowing it; tools that "crack" open passwords are brute-forcing, not decrypting.
The everyday use: encrypt contracts and records before emailing, share the open password over a different channel (phone call, text), and the mailbox-compromise scenario is defeated.