What is one purpose of informal writing?

From Google:

The informal style of writing is one used for personal and casual conversation, wherein friendly and colloquial language is used. In an informal writing style, personal and emotional tone is used, and the reader is directly referred by the words ‘you’ or ‘your’.