Will UV Lights Kill Mold?

I had mold last two times they came to service airconditioning unit. We bought and installed an UV light to stop mold. Is this a legitimate remedy or a scam. Have to replace light once year.