To change the secret coded information back to how it was.
Messages encrypted using the public key can be decrypted only by someone with the private key.