RSA uses a pair of keys: a public key, which can be shared openly, and a private key, which is kept secret. The public key is used to encrypt messages, and only the corresponding private key can decrypt them. This asymmetric nature makes RSA ideal for securing communications like email, where the sender and receiver might not have previously exchanged keys.