The cover letter is used in addition to your CV when applying for a job. A brief synopsis of laying out this type of letter follows:
Your opening or first paragraph should introduce you, the writer, and what job you are applying for. It is also correct to state how you learned of the job opening.