Writing allows someone to remember both good and bad times and use those memories to help whatever that person might be going through now. Sharing these experiences with the world, I think allows others to relate and possibly find a solution to whatever they might be going through.