A cryptographic key that can be distributed freely to anyone in order to encrypt messages intended for the recipient who owns the key. It is calculated starting from a private key which is held by the recipient only. The encrypted messages can be deciphered only by using the private key. It is almost impossible to figure out the private key starting from the public key.
The public key is also used to authenticate messages and transactions inside a blockchain network.