(Assuming you're referring to the movie Soul by Disney.)
The music played an important role in the movie "Soul" as it was a foremost theme and the characters used the music to express themselves and what they wanted to be. The role of the music made you feel empathy with the characters and understand their emotions and feelings.