RSA key generation produces a public/private key pair. The security comes from the difficulty of reversing the underlying math (notably, factoring very large numbers). What you should understand (high level):
- RSA starts from large prime numbers internally
- It produces a public key and a private key that “fit together”
- You can distribute the public key openly
- The private key must remain secret
- Open the RSA key generator
- Generate a key pair
- Save the public key and private key outputs for the next steps