Question: what is the difference between digital signature and encryption?
Answer: When encrypting, you use their public key to write a message and they use their private key to read it. When signing, you use your private key to write message's signature. Having a digital signature is one of the most convenient ways to ensure that the documents you need signed can just be signed electronically.