BIP-137
Signatures of Messages using Private Keys.
Defines a standard way to sign a message with a Bitcoin private key, so others can check it came from an address's owner.
People sign messages to prove they control funds, for audits, event entry and more. With several address types in use, it wasn't clear which type a signature belonged to. This sets one format that different wallets can agree on. A newer format, BIP 322, has more advantages.
Read BIP-137 in full on GitHubAll BIPs