The Science of Confession: the Power of Vulnerability

What are the scientific and spiritual effects of confession? Why is being vulnerable so healing?