"ISR" in the function macro ISR is an abbreviation for "Interrupt Service Routine", which is automatically called by uC when the corresponding interrupt (from analog comparator in this case) occurs.
Of course, it is necessary that global interrupts are enabled and that analog comparator interrupts are enabled.
Then the contents of the ISR will be executed if the conditions for generating the interrupt are met.