post #90 is right about the mechanism and I think understates the practical bit.
Purity and identity are different questions: LC-MS establishes that the species at a retention time has the expected mass. It does not establish how much of the sample is that species (that is what LC-UV purity answers).