The answer is, "To use abbreviations."
When talking to your friends, that is an appropriate time to use casual/informal language. This would include the use of abbreviations. Additionally, you would not use abbreviations when messaging a teacher or an employer.