Rather than making people feel worse, sad songs can actually improve your mood.

2418pre_0c009c588ab4c8d

That’s the crux of a new study by researchers from the Free University of Berlin, namely that music with melancholy lyrics and melody help people get through times of pain and loneliness.

According to the researchers, sad songs, unlike their more upbeat counterparts, evoke a series of complex emotions including nostalgia, peacefulness and tenderness, which regulates negative moods and leads to pleasurable effects enabling the listener to better express his or her emotions.