Firstly, what is a cover letter? A cover letter is a document you submit for an application. It comprises an overview of your work experience most relevant to the job/position you are applying to. Its a form of introducing yourself in a personal and compelling way so that the receiver can understand and know you without seeing you. Therefore, it is important that an ideal cover letter should include the following:
Apply a Professional Cover Letter Header
Begin with a Proper Greeting/Salutation
Compose an Opening Paragraph That Grabs Attention
Explain Why You’re The Ideal Candidate (usually in the Second Paragraph)
Create Your Offer in the Closing Paragraph
Use the Right Formal Closing
Add the Postscript (P.S.)
Having said that, you could go the extra mile to know the names of your hiring manager, if that's possible, rather than the conventional "Dear Sir/Ma", you could actually use the name of the hiring manager. and also you should have an idea about the organization. Therefore, by including these pieces of information into your cover letter, it might boost your chances of getting the job.