Formal and Informal Writing

Kids usually wear casual clothes. Presidents usually wear formal clothes. Astronauts wear really formal clothes. You wouldn't wear a T-shirt in the White House (or on the moon)!
Writing can be informal or formal as well.
Informal writing: Hey, dude. What's up?
Formal writing: Good morning, Leo. What are you working on?