How The Human Brain Memorizes Lyrics Of Music?

I am a music lover person. I don't pass a day without hearing some music. Whether I'm inside or outside the house, I make sure that my earphone and ipod is with me. That keeps me company and away from boredom. As a musician in our church, it's a must that I learn new music to impart with our congregation. What I do is, I listen to a certain music over and over for many times and eventually memorize all the lyrics and melody. Doing this made me want to know, what it is that makes a person able to memorize music lyrics and melody.