I think if it works it must be because of the high acidic/antiseptic properties. It could be like constantly killing the infected layer of skin so that fungus\bacteria doesnt have time to propagate.
Scrompone:
If you apply lemon in the night before going to bed, do you wake up with a white layer in the inner lining of your mouth?