A public key is a unique alphanumeric code that pairs with a private key to enable secure transactions and wallet identification. It acts as an address that others can use to send cryptocurrency to a wallet but does not grant spending authority. Public keys are derived from private keys, ensuring that while anyone can see or transfer assets to a public key, only the private key holder can access or control those assets.