I'm just curious...

My drivers side front tire kept losing lots of pressure every few days...so i finally took it into a tire place and they said I had a rim leak. the mentioned cleaning some gunk and debris and that i should be fine. and they did it for free...?

what was that? what does gunk and debris have to do with a rim leak? how does a rim leak occur? how did they fix it?

anyone?