Conditional logistic regression works by stratifying the data according to the matched sets. Within each stratum, it estimates the likelihood of exposure given the outcome, conditional on the stratum. It essentially compares each case to its matched controls, controlling for the matching variables. This method reduces the bias associated with confounding variables.