She likes to listen to music. ==> She likes to listen to all music in general.
She likes to listen to the music. ==> Using the word "the" limits the meaning of music. "The music" refers to some specific kind of music. Exactly what that specific music is would normally have to be state