how usb programmer works?

I'm using usb programmer for AVR microcontrollers.How it works,which program is there in microcontroller on it?