Teach me how to write a informal and formal letter

A formal letter is a professional letter, which is written in formal language, in a prescribed format and in the stipulated format. This letter is mainly used for professional communication. While an informal letter is a personal letter, which is written in a friendly manner to someone we are familiar with. This letter is mainly used for personal communication.

Hope this helps :)