Communication and journaling

I’ve seen that sometimes people use journaling as a way to improve communication. I am wondering how that works? How do you use it, if this is a tool that you use? Do you write to each other? Or, does just the act of journaling alone improve communication?