what is the function of music in the society