What is the purpose of the salutation in a letter?

What is the purpose of the salutation in a letter?

Explanation
The salutation is the opening greeting in a letter, such as "Dear [Name]. "
It addresses the recipient formally or informally, depending on the context of the communication.
It sets the tone for the letter and establishes a connection with the recipient.