Writing your feelings reduces the emotions. If you are sad or angry, you can write down whatever comes to your mind. That reduces your adness or anger.
Sometimes problems appear very big. Writing down organizes the thoughts and makes perception perfect. Actual size of problem could be understood after writing.