A digital signature is a cryptographic technique used to validate the authenticity and integrity of a digital message, document, or electronic communication. It involves the use of a private key to sign the message, and a corresponding public key to verify the signature. This ensures that the message has not been altered or tampered with, and that it indeed originated from the expected sender. Digital signatures are commonly used in electronic transactions, secure communication, and data integrity verification.