From the article...
It's part of a session known as music therapy, which is used to help people with various medical conditions develop everything from language skills to motor coordination. It can provide a drug-free way to regulate moods in people with depression or foster socialization in those with limited means of communication.
(I do know my mother's love of music and singing played a big role in getting her through her recovery from a stroke.)