What is a digital signature?
Digital signature is an operation where system takes your private key and, using it in special mathematical operations, applies source digest value to your data (email, document).The produced digest value is unique for this data, and after encrypting with private key is called digital signature.
When somebody wants to check your digital signature, he/she takes your public key and using mathematical operation restore source digest value and creates another digest value for real received data. After that system compares source digest value with created digest value - if they are equal, then digital signature is valid and content was originated from you and was not changed.